Jump to content


[VB] Alert box on closing, flashing like msn

  • Please log in to reply
1 reply to this topic

#1 sjaakmans


    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 31 August 2006 - 01:17 PM


I want with Visual Basic when i close my form i get an alert box... how can i create that?

And when you are online msn and somebody say's something to you your screen starts 'flashing' is that possible with VB?



#2 NGPixel


    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 31 August 2006 - 08:39 PM

If you are on VB6, in the code view, select the your Form object in the dropdown list above the code, and choose Terminate. If you are on VB.Net, its Form > Form Events, then choose Closing.

Then just create a simple Msgbox to display your alert box.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users