Dim contador as Integer
contador = 0
Private Sub Form_Load()
lbltime.Caption = " 0"
tmrWatch.Interval = 1000
tmrWatch.Enabled = True
End Sub
Private Sub tmrWatch_Timer()
lbltime.Caption = Str(Val(lbltime.Caption) + 0.1)
contador = contador + 1
if contador = 90 then
Nivel1.show
Unload Me
end if
end sub
dim tempo as integer
Private Sub form_load()
tempo = 0
end sub
Private Sub tmrWatch_Timer()
tempo = tempo + 1
if tempo=90 then
unload me
nivel1.show 'isto se calhar devia estar antes do unload me
end if
end sub