|
-
Jun 11th, 2008, 05:30 PM
#1
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.
-
Jun 11th, 2008, 09:37 PM
#2
Re: [VB6] URL/Path String Manipulation Functions
 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?
-
Jun 12th, 2008, 08:21 AM
#3
Re: [VB6] URL/Path String Manipulation Functions
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|