From: F.N.Z on
Hello,
I have a project in vb.net 2005.I want user to being asked when he/she wants
to exit from the project, for example by asking:"Are you sure you want to
quit?". the problem is I didn't find any way to ask this question when the
user click the "×" button in the window's control box. how can I ask the user
when he/she click this button?thank you.
From: Bill McCarthy on
Hi FNZ,

For VB.NET questions you should post to the
microsoft.public.dotnet.languages.vb newsgroup.

use the FormClosing event, setting e.Cancel to True to stop the closing.



"F.N.Z" <FNZ(a)discussions.microsoft.com> wrote in message
news:44F05A08-C07A-4863-A234-5F49B64AD221(a)microsoft.com...
> Hello,
> I have a project in vb.net 2005.I want user to being asked when he/she
> wants
> to exit from the project, for example by asking:"Are you sure you want to
> quit?". the problem is I didn't find any way to ask this question when the
> user click the "×" button in the window's control box. how can I ask the
> user
> when he/she click this button?thank you.

From: Mike Williams on
"F.N.Z" <FNZ(a)discussions.microsoft.com> wrote in message
news:44F05A08-C07A-4863-A234-5F49B64AD221(a)microsoft.com...

> I have a project in vb.net 2005.I want user to . . .

You are asking your question in the wrong newsgroup. This group is for the
*real* Visual Basic (VB6 and previous versions). The product you are using
is an imposter and it has dishonestly been given the name Visual Basic as
part of a Micro$oft marketing scam. Fortunately, Micro$oft's technical
people seem to be a little more honest than their marketing people, as is
evidenced by the fact that they have set up some a new and different
newsgroups for their new and different product. If you want answers relating
to the imposter then you should ask them on one of the imposter's own
newsgroups. Try:

microsoft.public.dotnet.languages.vb

Mike




From: Bill McCarthy on

"Mike Williams" <mikea(a)whiskyandCoke.com> wrote in message
news:eEl1r295IHA.3684(a)TK2MSFTNGP05.phx.gbl...
> "F.N.Z" <FNZ(a)discussions.microsoft.com> wrote in message
> news:44F05A08-C07A-4863-A234-5F49B64AD221(a)microsoft.com...
>
>> I have a project in vb.net 2005.I want user to . . .
>
> You are asking your question in the wrong newsgroup. This group is for the
> *real* Visual Basic (VB6 and previous versions). The product you are using
> is an imposter and it has dishonestly been given the name Visual Basic as
> part of a Micro$oft marketing scam.


Give it up Williams. The product is Visual Basic. The only one being
dishonest here is you.


> Fortunately, Micro$oft's technical people seem to be a little more honest
> than their marketing people, as is evidenced by the fact that they have
> set up some a new and different newsgroups for their new and different
> product.

Hello ? Lights on, but no-one home ?

>
> microsoft.public.dotnet.languages.vb
>

Uh huh. And the name it has there is "VB", which by your statements above
make your statements about it not being VB, as you would say "dishonest".
Just as this group is named "vb", so too is the "vb" group for "vb" on the
dotnet platform.





 | 
Pages: 1
Prev: .reg file
Next: array of controls