For future reference, almost everybody here is using VB6 or lower. While you
may get a stray answer to VB.NET questions here, you should ask them in
newsgroups devoted exclusively to .NET programming. Look for newsgroups with
the word "dotnet" in their name.
For the news.devx.com news server, try these
vb.dotnet.discussion
vb.dotnet.technical
For the microsoft news server, try these newsgroups...
microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb
There are some others, but these should get you started.
Rick - MVP
"Wortelvisje" <nb*****@hotmail.com> wrote in message
news:10***************@seven.kulnet.kuleuven.ac.be ...
You did put me on a good road to the answer, its "closing" in vb.net, thx
anyway, by searching in help on queryunload I found it ...
greetz
"Rick Rothstein" <ri************@NOSPAMcomcast.net> schreef in bericht
news:QJ********************@comcast.com... What I want to do is quit simple: if the does clicks on the cross at
the right top of the screen I want to catch this event and check a few things before closing the window. The only thing is, how can I detect
somebody has clicked on it, and how can I possible prevent the window from closing
without hiding the controlbox?
Check out the Form's QueryUnload event.
Rick - MVP