Results 1 to 3 of 3

Thread: Communicate with IE from VB?????

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 1999
    Location
    Sunny Southern Weather
    Posts
    406

    Question Communicate with IE from VB?????

    Is it possible to communicate with an open IE window from VB(6) ?

    For example, let's say a user has already opened their browser, and gone to, say www.yahoo.com.

    Could you find and change the url from a VB app started AFTER the browser was opened?

    So, to continue the example, let's say I want to create a VB app that does the following:

    1) "Grabs" the current URL from an open browser window
    2) Creates a list of URLS
    3) Changes the open Browser's URL when a user picks one from the list

    Anyone?

  2. #2
    Fanatic Member
    Join Date
    Sep 2002
    Location
    Lexington, SC
    Posts
    586
    I believe you could the same as you could in C++ but it wouldn't be to pretty. It involves working with windows apis and stuff to find a specific window and then find specific components in that window. Its tedious because of some of the codes they are referred to as that you have to figure out.

    If you have visual C++ run Spy++ though and it will show you basically what I'm talking about.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 1999
    Location
    Sunny Southern Weather
    Posts
    406
    Isn't there some component in VB which could be used?

    Anyone?

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