Alternate Code for click the Close Button in VB8(2005)
Author |
Message |
Echo
![](http://www.geocities.com/warcraftiiiheros/sosdan2.JPG)
|
Posted: Sun Aug 20, 2006 1:08 pm Post subject: Alternate Code for click the Close Button in VB8(2005) |
|
|
I'm using Visual Studio 2005, and I want to run some code when the user clicks the close button at the upper right of the form. The Unload event isn't listed in intellisense, which other one should I use?
A friend told me most people here use VB6, just wondering: Why do you prefer VB6 to .NET and later versions?
Thanks |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Echo
![](http://www.geocities.com/warcraftiiiheros/sosdan2.JPG)
|
Posted: Wed Aug 23, 2006 12:50 pm Post subject: (No subject) |
|
|
Hazy found it... there's two events, called "FormClosed" and "FormClosing"
I guess that would be it. |
|
|
|
|
![](images/spacer.gif) |
|
|