Space Space Space Space Space Space Space 
Author Message
 Space Space Space Space Space Space Space

I am trying to figure out how to create a program that will simulate the space key once every second.  I currently have MS Visual Basic 6 Working Model Edition which doesn't include the help files.  I want the program to "push" the space key once a second, be able to work in the background, and it "push" a button in the program that is in the foreground (whatever button is currently highlighted).  Any help you could give me or a site you could direct me to, would be most appreciated.

Thanks in advance
Darren



Mon, 18 Mar 2002 03:00:00 GMT  
 Space Space Space Space Space Space Space

Sendkeys
JD

  I am trying to figure out how to create a program that will simulate the space key once every second.  I currently have MS Visual Basic 6 Working Model Edition which doesn't include the help files.  I want the program to "push" the space key once a second, be able to work in the background, and it "push" a button in the program that is in the foreground (whatever button is currently highlighted).  Any help you could give me or a site you could direct me to, would be most appreciated.

  Thanks in advance
  Darren



Tue, 19 Mar 2002 03:00:00 GMT  
 Space Space Space Space Space Space Space

I am trying to figure out how to create a program that will simulate the space key once every second.  I currently have MS Visual Basic 6 Working Model Edition which doesn't include the help files.  I want the program to "push" the space key once a second, be able to work in the background, and it "push" a button in the program that is in the foreground (whatever button is currently highlighted).  Any help you could give me or a site you could direct me to, would be most appreciated.

Thanks in advance
Darren



Tue, 19 Mar 2002 03:00:00 GMT  
 Space Space Space Space Space Space Space

Quote:
>I am trying to figure out how to create a program that will simulate the =
>space key once every second.  I currently have MS Visual Basic 6 Working =
>Model Edition which doesn't include the help files.  I want the program =
>to "push" the space key once a second, be able to work in the =
>background, and it "push" a button in the program that is in the =
>foreground (whatever button is currently highlighted).  Any help you =
>could give me or a site you could direct me to, would be most =
>appreciated.

Darren,

Can't you use SendKeys for this?

If not, try the keybd_event API.

Mattias

________________________________________________
Mattias "beezo" Sj?gren

http://home1.2.sbbs.se/mattias.sjogren/sw/



Tue, 19 Mar 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Space Space Space Space Space Space Space

2. Space Space Space Space Space Space Space

3. Selecting from space to space

4. Replacing digits[space] with digits[non-breaking space]

5. Search/Replace Em Space/En Space characters

6. reset character spacing to default paragraph spacing

7. when are five spaces not five spaces?

8. Error 3026 Not enough space, but 2G space

9. disabling the space key or removing a space from a string

10. Need to know HD space and free space

11. Disk Space instead of RAM Space

12. How To Retrieve Free Disk Space and Total Disk Space

 

 
Powered by phpBB® Forum Software