VB6 – Find Final Destination URL from a URL that Redirects

Quite often, a url or web address redirects to a direct url in the web browser. For example, affiliate marketers often have urls that redirect to another url in an effort to hide the link is an affiliate link.

This block of code will allow you to find the final destination url of any url no matter how many redirects there are from the starting url

[1] Create a Reference to the Microsoft HTML Object Library (menu Project >> References)

At the top of the module