Computer Science Canada Where do I start? |
Author: | Drewbie [ Wed Jul 12, 2006 11:05 am ] |
Post subject: | Where do I start? |
I am trying to make a program that will run and periodically press the up arrow without any assistance from me. The only problem is I dont know I would do it. I figure ill run something on a timer but i dont know after that. Please help. Thank you |
Author: | Tony [ Wed Jul 12, 2006 11:17 am ] |
Post subject: | |
you put SendKey() inside your timer controller |
Author: | r.3volved [ Wed Jul 12, 2006 11:46 am ] |
Post subject: | |
1. ^^ What he said 2. You can create your own event handler to be called 3. Whatever code you have executing for the uparrow you can either paste it into the timer event, or you can crate a function that gets called on keypress and in your timer event |
Author: | Shaun Dreclin [ Tue Dec 12, 2006 9:54 pm ] | ||
Post subject: | |||
Assuming you are using VB6, I would say something along the lines of:
|
Author: | ZeroPaladn [ Wed Dec 13, 2006 9:06 am ] |
Post subject: | |
Watch it with the necroposting. The topic is 5 months old, so it is long forgotten. |
Author: | Shaun Dreclin [ Wed Dec 13, 2006 12:57 pm ] |
Post subject: | |
Whoops, your right. Sorry, I thought this was a more active forum. The topic WAS still on the first page. |