|
-
Jul 19th, 2008, 08:56 AM
#1
Thread Starter
Frenzied Member
[2005] click a button that is in another program?
Hello, i have worked with APIs before though i am not good at them. I know how to write in a textbox on another program...
But how do i click a specific button?
-
Jul 19th, 2008, 12:11 PM
#2
Hyperactive Member
Re: [2005] click a button that is in another program?
This is exactly my question, altough this type of question is frowned upon. Btw can you post the code to write to a textbox an another program?
-
Jul 19th, 2008, 01:45 PM
#3
Thread Starter
Frenzied Member
Re: [2005] click a button that is in another program?
Sure, i think there is already that code in the codebank though. I will either supply a link if i cna find it or i may post it here...
-
Jul 19th, 2008, 01:50 PM
#4
Thread Starter
Frenzied Member
Re: [2005] click a button that is in another program?
Here is a link to one i just found now.... It's part of someone else's question.
http://www.vbforums.com/showpost.php...14&postcount=8
-
Jul 19th, 2008, 02:03 PM
#5
Re: [2005] click a button that is in another program?
Use the SendMessage API function and send a BM_CLICK message:
http://msdn.microsoft.com/en-us/libr...85(VS.85).aspx
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
|