Solved

Get the actual URL address inet fetched?

Posted on 2002-06-26
7
292 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
[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: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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

732 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