?
Solved

Get the actual URL address inet fetched?

Posted on 2002-06-26
7
Medium Priority
?
294 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:James
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:James
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
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!

 

Author Comment

by:James
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:James
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

765 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