battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 
 

 vb.net form closing event made simple

Go down 
AuthorMessage
Admin
Admin
avatar

Posts : 120
Join date : 2011-08-01

PostSubject: vb.net form closing event made simple   Mon Nov 21, 2011 11:25 pm

in the code :
Code:
Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
        MsgBox("form closed")
    End Sub 'Form1_Closing

replace msgbox("form closed") with the code to be run when the form closes.
do not put infinite while loops which will jam up the program

_________________
kurayami no kagi  _____    
Back to top Go down
View user profile http://yotamarker.forumotion.com
 
vb.net form closing event made simple
Back to top 
Page 1 of 1
 Similar topics
-
» how to select an option from select box of a form
» Avoid browser closing on selenium RC shutdown
» Event is not fired with IDE
» Zoo Tycoon User - Made Creations
» User - Made Creations

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: