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.

OpenForms

Update the splash screen with status information as the application starts.

SplashScreen

See Also

Reference

My.Forms Object

OpenForms

SplashScreen