Solved

Get the actual URL address inet fetched?

Posted on 2002-06-26
7
285 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

743 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

13 Experts available now in Live!

Get 1:1 Help Now