-
[2005] Splash screen
My splash screen comes up for about a quarter second. Why is that? Is there a way to set it's longevity?
Also, I'm thinking of adding a second splash screen to come up after pressing 'Start' (closing the control panel and starting the application). Is that possible?
-
Re: [2005] Splash screen
How are you displaying the splash screen? Are you using the functionality built into the Application Framework, i.e. selecting the form to use as the splash screen in the project properties? If so then it should display for 2 seconds by default.
-
Re: [2005] Splash screen
As also, you must put in the Project properties the Form to use as SplashScreen, you can do this:
- Add the Timer control to the Form of the SplashScreen.
- The Interval property controls the time, in miliseconds:
- For 2 seconds, put 2000
- For 2,5 seconds, put 2500
- For 3 seconds put 3000, and what else.
Use this code to control the Timer1, when you click on the SplashScreen or on the Aplication Screen.
Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Try
Me.Close()
Catch ex As Exception
Me.Close()
Finally
Me.Close()
End Try
End Sub
I hope this will help you. :wave: