Application events

  • Thread starter William F. Robertson, Jr.
  • Start date
W

William F. Robertson, Jr.

Is it possible to wire another event handler to the Application events?

If so, how can I gain access to the events for the Application.

thanks,

bill
 
C

Cowboy \(Gregory A. Beamer\)

Yes and no.

It kind of depends on what you are talking here. There are certain events
that you will have to poke fairly deep to alter. For most of the events,
however, you can change the handler quite easily. Note, however, that VS.NET
will sometimes "correct" your changes, esp. if you poke with code in the
region that .NET tells you not to dink with (the generated code). You can
always compile outside the IDE if you are really stepping outside the box.

Another possible solution is to make static (Shared = VB.NET) methods and
fire them from the standard events wired to the application. This allows you
to reuse code more efficiently without adding a lot of object instantiation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,078
Messages
2,570,570
Members
47,204
Latest member
MalorieSte

Latest Threads

Top