Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.59 KB

accessing-application-forms.md

File metadata and controls

31 lines (25 loc) · 1.59 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Accessing Application Forms (Visual Basic)
Accessing Application Forms
07/20/2015
forms [Visual Basic], communicating between
application forms [Visual Basic], accessing
forms [Visual Basic], accessing one from another
My.Forms object
forms [Visual Basic], accessing all open
9aaf5aaf-2012-4f97-89c7-6e62b9d17863

Accessing Application Forms (Visual Basic)

The My.Forms object provides an easy way to access an instance of each Windows Form declared in the application's project. You can also use properties of the My.Application object to access the application's splash screen and main form, and get a list of the application's open forms.

Tasks

The following table lists examples showing how to access an application's forms.

To See
Access one form from another form in an application. My.Forms Object
Display the titles of all the application's open forms. xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OpenForms%2A
Update the splash screen with status information as the application starts. xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.SplashScreen%2A

See also

  • xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OpenForms%2A
  • xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.SplashScreen%2A
  • My.Forms Object