Acmlm's Board - I2 Archive - Programming - [Visual Basic] Timer event
User | Post |
Jesper
Posts: 131/2390 |
It took me like four months to figure that out, way back when I was 8. In the meantime I was using the only way I knew how to 'slow down' something; some processor heavy calculations. Ofcourse it always bugged me how the form exited before it was drawn. |
Tuvai
Posts: 113/211 |
Ah yeah, jsut figured it out:
Private Sub Timer1_Timer() MsgBox "boo!" End Sub
Another hour wasted on something so simple. |
Acmlm
Posts: 356/1173 |
Create a Timer object, give it Interval=10000 and Enabled=True ... then in the Timer's code, set Enabled=False and the timer won't run more than once (at 10 seconds)
Not sure if there's a better way to do it, but this one is pretty simple ... |
Tuvai
Posts: 112/211 |
Well, what I want to do is pretty simple, just don't know how. Already looked on MSDN and google but those weren't much help.
I want to know how to do timer events. If someone can post me the code to display a simple MsgBox 10 seconds after the form is loaded, I'd pretty much know the drill. |
|