I can't get my threading timer to show a splash screen panel for six seconds, then move onto the next panel. The timer just doesn't tick (this is aparent when I set the time to wait to 100 and it never fires off the sub)
I've tried using java, I've tried using the system timer - this is my last hope - please help!
Here's my Code
-----------------
Private strConn As String = ConfigurationSe ttings.AppSetti ngs("conString" )
Private Sub btnAgree_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles btnAgree.Click
Dim oCallback As New TimerCallback(A ddressOf OnTick)
Dim lPeriod As Long = 6000
Try
oTimer = New System.Threadin g.Timer(oCallba ck, Nothing, 0, lPeriod)
Catch ex As Exception
Response.Write( "It Didn't Work")
End Try
pnl4.Enabled = True
pnl4.Visible = True
pnl9.Enabled = False
pnl9.Visible = False
Private Sub OnTick(ByVal state As Object)
pnl4.Visible = False
pnl9.Enabled = True
pnl9.Visible = True
End Sub
--------------------------------
From: Daniel Maycock
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>q9h/pdEvRUyMF53ytiQ L8Q==</Id>