URL Segmenter: Splits URL into an Array of Component Parts

Category:
Network/Internet
Type:
Snippets
Difficulty:
Intermediate
Author:
Steven Hoyt

Version Compatibility: Visual Basic 6

More information:
Returns the different segments that comprise a url (painlessly):
  • Schema: (e.g., http, file, ftp
  • user name
  • password
  • domain
  • port
  • query string

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: