Results 1 to 5 of 5

Thread: [2005] click a button that is in another program?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2008
    Posts
    1,754

    [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?

  2. #2
    Hyperactive Member Philly0494's Avatar
    Join Date
    Apr 2008
    Posts
    485

    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?

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2008
    Posts
    1,754

    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...

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2008
    Posts
    1,754

    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

  5. #5
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    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
  •  



Click Here to Expand Forum to Full Width