Results 1 to 5 of 5

Thread: [RESOLVED] VB6: How do I get the URL from Internet Explorer?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    80

    Resolved [RESOLVED] VB6: How do I get the URL from Internet Explorer?

    I like to have a button in my program that puts the URL I have opened in IE in a textbox.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: VB6: How do I get the URL from Internet Explorer?

    This is confusing.

    Your thread title asks how you get the url and your thread body indicates you are getting it and putting it in a textbox.



    What is the question?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    80

    Re: VB6: How do I get the URL from Internet Explorer?

    I've opened Internet explorer and I am on an URL.

    My VB program doesn't know the URL, but needs it for downloading a file.

    (actually it is used for creating url's, to download multiple files, like pic001, pic002, pic003)

    How can my prog get the URL from IE? (i don't want to copy paste, but push a button)

  4. #4
    Hyperactive Member Jenova's Avatar
    Join Date
    Feb 2006
    Location
    Googleplex
    Posts
    413

    Re: VB6: How do I get the URL from Internet Explorer?

    You can use the SendMessage() API function and send the WM_GETTEXT to the window to retrieve the string.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    80

    Re: VB6: How do I get the URL from Internet Explorer?

    Ok, thx, I will get into that

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