Solved

Get the actual URL address inet fetched?

Posted on 2002-06-26
7
291 Views
Last Modified: 2010-05-02
I want to use inet but I found a really big annoyance: it won't return the url it had followed! What I mean is that it will follow any redirect but then won't give up the final address. For example:

if it attempts to follow...

http://dailynews.yahoo.com/h/wl/ap/?u

It gets shuttled to......

http://story.news.yahoo.com/news?tmpl=index&cid=535&/?u


So, any way to get the actual url address it ultiamtely returned?
0
Comment
Question by:ohmeohmy
7 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 7111091

Private Sub WebBrowser1_NavigateComplete2(ByVal pDisp As Object, URL As Variant)
    MsgBox URL
End Sub

It returns the actual URL it ends up with in the above event procedure.
0
 

Author Comment

by:ohmeohmy
ID: 7111252
If I was using the webbrowser control, sure!
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7111361
Could you check .URL property after fetch? Which value it returns?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ohmeohmy
ID: 7111425
URL property returns the initial url, not the redirected current url that inet actually fetches. I am beginning to believe this is a oversight of MS when they built this OCX. You think they would have allowed for the control to update where it was!
0
 

Author Comment

by:ohmeohmy
ID: 7111434
URL property returns the initial url, not the redirected current url that inet actually fetches. I am beginning to believe this is a oversight of MS when they built this OCX. You think they would have allowed for the control to update where it was!
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7964503
Hi ohmeohmy,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

ohmeohmy, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 8014755
Per recommendation, points refunded and question closed.

Netminder
EE Admin
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question