My.Application Object
Provides properties, methods, and events related to the current application.
Remarks
For information about the methods and properties of the My.Application object, see the following resources:
ApplicationBase for members that are available in all projects.
WindowsFormsApplicationBase for members that are available in Windows Forms applications.
ConsoleApplicationBase for members that are available in console applications.
Requirements
Namespace: Microsoft.VisualBasic.ApplicationServices
Class: WindowsFormsApplicationBase (the base class ConsoleApplicationBase provides members available in console applications, and its base class ApplicationBase provides the members that are available in all projects)
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)