[Resolved]Simple: Why doesnt this on unload code work?!
I have coding that looks like:
VB Code:
Private sub Form_Unload(Cancel as Integer)
End
End sub
For some reason, when i click the close button, Nothing happends. My form's startup is main, and main calls for form1 to load. End unloads the WHOLE program. For some reason, It's just ending Form1, and Main is calling it back up. I put a close COMMAND button on it, and gave it the coding :
Code:
Private Sub Command1_click()
End
End Sub
And it worked fine! Can i have a little help here? Thanks!:)