1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Get name of a control in another application using VB

Discussion in 'Software Development' started by zeek zeon, Nov 8, 2002.

Thread Status:
Not open for further replies.
  1. zeek zeon

    zeek zeon Thread Starter

    Joined:
    Aug 1, 2002
    Messages:
    80
    Hey all, I'm designing an application that auto-updates with another application. The problem is, I didn't design the app that it's getting data from, so I don't know how to identify the textbox my program is supposed to monitor. If you have a library or know the API call, please help me.
    :(
     
  2. zeek zeon

    zeek zeon Thread Starter

    Joined:
    Aug 1, 2002
    Messages:
    80
  3. Mosaic1

    Mosaic1

    Joined:
    Aug 17, 2001
    Messages:
    7,486
    Since no one else is answering, I'll take a shot. Way over my head. But I believe you would have to get the handle of the text box in question. Once you had that, you could get its text property and copy it to the text box on your form.



    Karen Kenworthy has a utility which monitors all Windows. Maybe that would help you to get an idea of what is involved. It is called Windows Watcher. Go to this link and download the source code.


    http://www.karenware.com/powertools/ptwinwatch.asp
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - name control another
  1. jamesb2
    Replies:
    1
    Views:
    112
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/103108

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice