Computer Science Canada Alternate Code for click the Close Button in VB8(2005) |
Author: | Echo [ 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 |
Author: | Echo [ Wed Aug 23, 2006 12:50 pm ] |
Post subject: | |
Hazy found it... there's two events, called "FormClosed" and "FormClosing" I guess that would be it. |