|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Vb controling other programs
Is there a way in vb to control and push buttons on other programs? I'm mostly looking to take text data from one program and insert it into another along with possibly some mouse clicks
|
|
#2
|
|||
|
|||
|
Other MS programs? Don't know about button clicks, but can control actions. Check this link: http://support.microsoft.com/kb/220595
|
|
#3
|
|||
|
|||
|
You can use FindWindow API to find another program or EnumWindows API. After you have the handle to the program you want to automate, you can use EnumChildWindows to find textboxes, buttons, and so on. Once you have the handle to the control(s) windows you want to manipulate from your program you can use the SendMessage API...
Time to use your friends (yahoo, google, ask, answers, bing) to search for these as there are a lot of examples out there. Good Luck |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Vb controling other programs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|