Solved

Get the actual URL address inet fetched?

Posted on 2002-06-26
7
287 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now