Results 1 to 3 of 3

Thread: write to other apps' textbox

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2010
    Posts
    16

    write to other apps' textbox

    hi, i have a program that reads the string from App-A, then processed by my App, and send the result to another App-B. My problem is how can i send this string of text to App-B? using spy++ i found my target is "RichEdit20A" control and its Caption is Blank (""). using cheat engine, i found the string of address 12DDCC is changed whenever i edit the textbox, but changing the value of this address directly does not change it at all. I think sendmessage api may do the work but i dont know how to translate these codes/address to work. thanks!

  2. #2
    Frenzied Member
    Join Date
    Mar 2009
    Posts
    1,182

    Re: write to other apps' textbox

    SendMessage with the WM_SETTEXT const is what you are looking for... and here recently, I saw an example of this... So I'm betting a search of this forum or with your friends (yahoo, google, ask, answers, bing) should net you an example or two...



    Good Luck
    Option Explicit should not be an Option!

  3. #3
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: write to other apps' textbox

    Yes if you search the forum for Dynamic Data Exchange, DDE you will find answers. It maybe old but it works a treat.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

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