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)
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for