Results 1 to 3 of 3

Thread: Problems With VB6 and IE

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    13

    Problems With VB6 and IE

    Alright. So I am using this to open up Internet explorer from my program

    VB Code:
    1. Set browser = CreateObject("InternetExplorer.Application")
    2.     browser.Visible = True
    3.     browser.Navigate "http://www.google.com"

    however im trying to do 2 things...

    1) i want to be able to pull the url from the browser i just opened and display it in my program... i tried text1.text = browser.LocationURL but it didnt work...

    2) i also want to be able to have a button that will direct the browser that i just opened to a different link..

    any help is appreciated

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problems With VB6 and IE

    Why not just use the MS Internet Transfer Control (component) to do it.

  3. #3
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Problems With VB6 and IE

    I hear this is a good tutorial Web Browser Tutorial

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