This documentation is archived and is not being maintained.

WindowsFormsApplicationBase.ShowSplashScreen Method

Note: This method is new in the .NET Framework version 2.0.

Determines if the application has a splash screen defined, and if it does, displays it.

Namespace: Microsoft.VisualBasic.ApplicationServices
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

protected void ShowSplashScreen ()
protected void ShowSplashScreen ()
protected function ShowSplashScreen ()

By default, this method calls OnCreateSplashScreen in a thread-safe way.

The ShowSplashScreen method contains the code that displays the splash screen for at least the number of milliseconds specified by the MinimumSplashScreenDisplayTime property. To use this functionality, you must set the My.Application.MinimumSplashScreenDisplayTime property in a method that overrides the ShowSplashScreen or OnCreateSplashScreen method, or add the splash screen to your application using the Project Designer. For more information, see My.Application.MinimumSplashScreenDisplayTime Property.

This method is called by the OnInitialize method.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0