Application events

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • William F. Robertson, Jr.

    Application events

    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


  • Cowboy \(Gregory A. Beamer\)

    #2
    Re: Application events

    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.

    --
    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA
    Author: ADO.NET and XML: ASP.NET on the Edge

    *************** *************** *************** *************** *************** *
    ****
    Think Outside the Box!
    *************** *************** *************** *************** *************** *
    ****
    "William F. Robertson, Jr." <wfrobertson@kp mg.com> wrote in message
    news:O58vg2LQDH A.4024@tk2msftn gp13.phx.gbl...[color=blue]
    > 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
    >
    >[/color]


    Comment

    Working...