Inserting data into an external program's text box using VB.Net?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChrisJensen
    New Member
    • Jan 2010
    • 4

    Inserting data into an external program's text box using VB.Net?

    Hello!

    I'm currently trying to fill in a dialogue box (from an external program) using a VB.Net app. I've succeeded in finding the window handle for the external program (using the FindWindowByCap tion function), but am having some difficulty finding the handles for the child windows (which, in this case, would be text boxes). Most tutorials that I've found online suggest using Spy ++ (or other programs) that I don't have access to on this computer. Is there a programmatic way to step through the child windows until I find one with a certain class or name?

    Once I have window handles for the child windows, I should be ready to go, as I'm planning on using the SendMessage function.

    Does anyone have any ideas about how best to accomplish my task?

    Thanks,
    -cj
  • vb5prgrmr
    Recognized Expert Contributor
    • Oct 2009
    • 305

    #2
    Please look to the right of your post. You see where it says .net? That is where you need to post this question as the forum you are currently in is pre .net technology, i.e. classic visual basic...

    Comment

    Working...