|
-
Apr 5th, 2010, 05:43 PM
#1
Thread Starter
Member
A few questions
1. How can I make something like you press a button, and something happens until the time is the time in the textbox? For example, it keeps on doing nothing and when the the time is the time in the textbox (for example - 15:08:07) and then it presses some keys.
2. How can I control timer? Is it in milliseconds or something?
Thank you very much in advance.
-
Apr 5th, 2010, 09:06 PM
#2
Re: A few questions
1. Start a Timer and, in the Tick event handler, check the current time (Date.Now). If the current time is equal to or greater than the target time, stop the Timer.
2. http://msdn.microsoft.com/en-us/libr...rms.timer.aspx
Read that first, then follow the link to read about all the members, i.e. properties, methods and events.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|