Question Help with splash code

Cajunjb1

New member
Joined
Apr 17, 2009
Messages
2
Programming Experience
Beginner
I am trying to write code with multiple forms. The first screen is splash screen then is supposed to close and have a calculations screen. In the timer of the splash screen I wrote the following code
Option Explicit On
Option Strict On

Public Class uiHinsbrookSplashScreen

dim SecondForm As New uiForm2

Private Sub uiExitTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles uiExitTimer.Tick

SecondForm.Show()

End Sub


End Class

This opens the second screen, but when I Hit Exit on the Second Screen The first screen is still open. What do I need to do next????
 
Setting the splash form in project properties would be easier. In the Application tab you can choose both which form is splash screen and which is application startup form.
 
Back
Top