Results 1 to 4 of 4

Thread: [VB6] URL/Path String Manipulation Functions

Hybrid View

  1. #1
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: [VB6] URL/Path String Manipulation Functions

    Came across this when searching for something. Another thing you might want to add would be to encode a URL (replacing spaces with %20 or whatever it is), etc.

  2. #2
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: [VB6] URL/Path String Manipulation Functions

    Quote Originally Posted by DigiRev
    Came across this when searching for something. Another thing you might want to add would be to encode a URL (replacing spaces with %20 or whatever it is), etc.
    Isn't that automatic? What control are you using that requires replacement with %20?

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: [VB6] URL/Path String Manipulation Functions

    Quote Originally Posted by leinad31
    Isn't that automatic? What control are you using that requires replacement with %20?
    Automatic if you are using something like a web browser control or shelling a web page.

    But if you are making something yourself that sends a request to a web server (maybe using something like Winsock?) then it can be important.

    Also, another idea might be to wrap this up into a class and let the user set a URL property, and be able to get individual parts from the URL like domain, suffix, port (if applicable), URI, etc. via property gets. I started on this awhile ago but haven't finished it yet...

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