Load Another Form With Splashscreen VB.NET
splash-screen, vb.net
Solution
Open Visual Studio > new VB.Net Winform Project
Right click Solution > Add New Item > SplashScreen
Double click Form1 and in the Form1_Load event:
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Me.Visible = False
Dim s = New SplashScreen1()
s.Show()
'Do processing here or thread.sleep to illustrate the concept
System.Threading.Thread.Sleep(5000)
s.Close()
Me.Visible = True
End Sub
Problem
So I'm developing a game and it's a little heavy on some systems, so here's what I would like to do when the game opens (pseudo code): ``` Show Splashscreen Load GameForm When GameForm Is Completely Loaded Splashscreen Close Show GameForm ``` How is this done in actual VB code?