Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Project Properties
Project Designer
 How to: Handle Application Events (...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio 
How to: Handle Application Events (Visual Basic) 

Visual Basic provides several application-level events including Startup, Shutdown, StartupNextInstance, and UnhandledException. Code for these events is stored in the ApplicationEvents.vb partial class file, which is hidden by default. You can access the Code Editor window for application events from the Application page of the Project Designer.

To access code for application events

  1. Select a project in Solution Explorer, and then on the Project menu, click Properties.

  2. Select the Application page.

  3. Click the View Application Events button to open the Code Editor.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker