Dear Colleagues,
I need to do the following by VBA procedure in Outlook:
1) open in Internet Explorer http:// www. anyaddress.com
2) wait (about 15 seconds) until IE redirects to https:// www. hugedomains.com/domain_profile.cfm?d=anyaddress&e=com
3) read the word "hugedomains" from URL2
I am using WinHttpRequest object to realize that task, but I cannot find property which returns redirected URL
(see attached Sub url_redirect)
I got stuck. Can anybody give me a clue?
I am wondering about another solution : write a code which captures network traffic (IE F12, Network, save to file option), saves to file (networkdata.xml) and finds "hugedomains" word by function InStr, but in this case I completely don't know how to do that....
Sorry for asking maybe stupid (hope not) questions, but I really don't know how to go further.
Regards,
Andrzej Nizankowicz
(admin: hoping my edit to show the urls makes it easier to understand)
I need to do the following by VBA procedure in Outlook:
1) open in Internet Explorer http:// www. anyaddress.com
2) wait (about 15 seconds) until IE redirects to https:// www. hugedomains.com/domain_profile.cfm?d=anyaddress&e=com
3) read the word "hugedomains" from URL2
I am using WinHttpRequest object to realize that task, but I cannot find property which returns redirected URL
(see attached Sub url_redirect)
I got stuck. Can anybody give me a clue?
I am wondering about another solution : write a code which captures network traffic (IE F12, Network, save to file option), saves to file (networkdata.xml) and finds "hugedomains" word by function InStr, but in this case I completely don't know how to do that....
Sorry for asking maybe stupid (hope not) questions, but I really don't know how to go further.
Regards,
Andrzej Nizankowicz
(admin: hoping my edit to show the urls makes it easier to understand)
Attachments
Last edited by a moderator: