battle programmers alliance

battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 
 

 vb.net form closing event made simple

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin
avatar

Posts : 52
Join date : 2011-08-01

PostSubject: vb.net form closing event made simple   Tue Nov 22, 2011 4:25 am

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.justforum.net
 
vb.net form closing event made simple
View previous topic View next topic 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: