ASP, VB.net how to properly close a main (form) application
Hi and thanks,
Without going into much detail.
I have a main form and it is being closed by the little X (close) in the upper right corner.
I have noticed that when opening the program it sometimes does not open.
I am guessing that it is because the application is not being closed correctly and that it needs a close button with the recordsets being ended and also a close? It is mentioned that the MS has a garbage collection that automatically does this?
So you are saying that closing with the X does close the application properly and you don't have to worry about the recordsets? I guess this is one of the reasons for VB.net. I have more experience with VBA...
Thanks
YZlat
I believe so. But you can also go to form's closing event and put the code there to dispose of the form
Johny Bravo
Hi Amour22015,
ASP, VB.net?
What about ASP here?
The situation you describe is pretty confusing. Whenever you close your program's startup form, the entire application should quit automatically, including closing all other open forms.
(You are using MDI form??)
Thanks