ethicalhacker
Well-known member
my application opens pretty quick but just for looks I put the splash screen and loading has slowed down. can i decrease the normal time for which the splash screen is shown?
Within the MyApplication class you can paste the OnInitialize method from the help page.Namespace My
' The following events are available for MyApplication:
'
' Startup: Raised when the application starts, before the startup form is created.
' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
' UnhandledException: Raised if the application encounters an unhandled exception.
' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.
Partial Friend Class MyApplication
End Class
End Namespace
My.Application.MinimumSplashScreenDisplayTime = 5000
Private Sub splash_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Hi John,The ApplicationEvents.vb file that IDE generates doesn't look like that, it's by default this:
Within the MyApplication class you can paste the OnInitialize method from the help page.
Hi John,
SplashScreen works alright but there is an issue that MDI from appears after one second while SplashScreen is still appearing its for 5 seconds. Can you help me about that?