i have a timer on a splash screen, when it's done, it is supposed to open another form...somehow, the form doesn't seem to load...the form's name is fLogin, which i declared somewhere else...
do u think this code is correct?
Private Sub Timer1_Elapsed(ByVal sender As Object, ByVal e As System.Timers.ElapsedEventArgs) Handles Timer1.Elapsed
If ProgressBar1.Value = 100 Then
Timer1.Enabled = False
fLogin.Show()
Me.Close()
Exit Sub
End If
ProgressBar1.Value = ProgressBar1.Value + 10
End Sub
do u think this code is correct?
Private Sub Timer1_Elapsed(ByVal sender As Object, ByVal e As System.Timers.ElapsedEventArgs) Handles Timer1.Elapsed
If ProgressBar1.Value = 100 Then
Timer1.Enabled = False
fLogin.Show()
Me.Close()
Exit Sub
End If
ProgressBar1.Value = ProgressBar1.Value + 10
End Sub