How to get a splash screen to wait for 5 seconds before loading Main.VB form?
Hello,
I'm working on a web browser application. How can I get the splash screen (SplashScreen.VB) to start, wait for 5 seconds and then close and open up the main screen, Main.VB? Code samples, please? Thanks.
The default display time is 2000 milliseconds (2 seconds). You can use the MinimumSplashScreenDisplayTime property in the My.Application namespace to change this. Add the following code in the OnInitialize event of your SplashScreen form:
Me.MimimumSplashScreenDisplayTime = 5000
Hope this helps,
Steve Hoag
the V-Bee