Home All Groups Group Topic Archive Search About

Don't see application events

Author
13 Nov 2006 3:02 AM
Robert Dufour
I have an app that was upgraded to vb 2005 from vb 2003. In 2003 there was
no file applicationevents.vb. I got a copy of a sample file from ms and
added it to the project, however when i'm in the code window and try to get
application events, the dropdown list for the available events on the right
does not show any events.

How do I add an applicationevents.vb file to my project that will interact
corrcetly with the IDE and show the available events in the dropdown?

Thanks for any help

Bob

Author
13 Nov 2006 5:05 AM
Cor Ligthert [MVP]
Robert,

If I understand you well, than you have three ways in VB.Net

You write it dynamicly using the AddHandler
You create an event by the right dropdown in top of your code page
You add the event as text after your eventmethod "Handles" and the
intelisense does the rest

Cor

Show quoteHide quote
"Robert Dufour" <bduf***@sgiims.com> schreef in bericht
news:eawWBBtBHHA.3228@TK2MSFTNGP03.phx.gbl...
>I have an app that was upgraded to vb 2005 from vb 2003. In 2003 there was
>no file applicationevents.vb. I got a copy of a sample file from ms and
>added it to the project, however when i'm in the code window and try to get
>application events, the dropdown list for the available events on the right
>does not show any events.
>
> How do I add an applicationevents.vb file to my project that will interact
> corrcetly with the IDE and show the available events in the dropdown?
>
> Thanks for any help
>
> Bob
>
Author
13 Nov 2006 9:04 AM
Norman Chong
Robert Dufour schrieb:

>
> How do I add an applicationevents.vb file to my project that will interact
> corrcetly with the IDE and show the available events in the dropdown?
>

Hi Robert,

Don't know if I understood your problem, but in VS you can add the
ApplicationEvents.vb By pressing button "View Application Events" in
<ProjectFile> --> Application
Author
13 Nov 2006 4:50 PM
Robert Dufour
Thank you both
Robert
Show quoteHide quote
"Norman Chong" <normanch***@freenet.de> wrote in message
news:1163408642.249301.78150@f16g2000cwb.googlegroups.com...
>
> Robert Dufour schrieb:
>
>>
>> How do I add an applicationevents.vb file to my project that will
>> interact
>> corrcetly with the IDE and show the available events in the dropdown?
>>
>
> Hi Robert,
>
> Don't know if I understood your problem, but in VS you can add the
> ApplicationEvents.vb By pressing button "View Application Events" in
> <ProjectFile> --> Application
>