Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - [Visual Basic] Timer event | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Tuvai Permanently banned for account hacking. Level: 24 Posts: 112/211 EXP: 74894 For next: 3231 Since: 03-15-04 Since last post: 566 days Last activity: 339 days |
| ||
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. |
|||
Acmlm Torosu heh Level: 51 Posts: 356/1173 EXP: 981994 For next: 31944 Since: 03-15-04 From: Somewhere that isn't outside of Sherbrooke, Québec, Canada Since last post: 39 days Last activity: 3 hours |
| ||
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 Permanently banned for account hacking. Level: 24 Posts: 113/211 EXP: 74894 For next: 3231 Since: 03-15-04 Since last post: 566 days Last activity: 339 days |
| ||
Ah yeah, jsut figured it out: Private Sub Timer1_Timer() MsgBox "boo!" End Sub Another hour wasted on something so simple. |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 131/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
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. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - [Visual Basic] Timer event | | | |