[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.vb.general.discussion

"Real" URL in webbrowser control

Jeff Caton

5/30/2010 5:06:00 PM

When I navigate to a website using the webbrowser control in VB6, I get
the events of loading and completing of URLs:

When I navigate to let's say www.thisurl.com, other URLs may be loaded,
e. g. banners, inline frames, etc.

Loading these "sub-URLs" also raise the document complete event.
How would I know the real URL where I currently am?

I never thought about it, but do we really know what website we are
currently on?

It looks so easy in each browser, but I am either missing something, or
it may be more complicated than I thought.
1 Answer

Larry Serflaten

5/30/2010 6:49:00 PM

0


"Jeff Caton" <j.caton@gmailnotspam.com> wrote
> When I navigate to a website using the webbrowser control in VB6, I get
> the events of loading and completing of URLs:
>
> When I navigate to let's say www.thisurl.com, other URLs may be loaded,
> e. g. banners, inline frames, etc.
>
> Loading these "sub-URLs" also raise the document complete event.
> How would I know the real URL where I currently am?
>
> I never thought about it, but do we really know what website we are
> currently on?
>
> It looks so easy in each browser, but I am either missing something, or
> it may be more complicated than I thought.


Its a common problem, and a solution is provided...

http://support.microsoft.com...

LFS