Link to home
Start Free TrialLog in
Avatar of hess
hess

asked on

Browser source

Does ne1 know of a simple whay to retrieve the source of a webpage from a Web Browser Object in VB5.
ASKER CERTIFIED SOLUTION
Avatar of clifABB
clifABB

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of clifABB
clifABB

Sorry, I should have said OpenURL method.  :)
LocationURL, as in this example:

' Navigates to a location (you probably already know this)
Private Sub Command1_Click()
WebBrowser1.Navigate "http://www.metacrawler.com"
End Sub

' Get the URL of the current location (the information you need)
Private Sub Command2_Click()
MsgBox WebBrowser1.LocationURL
End Sub


Avatar of hess

ASKER

i do not see the internet trnasfer controll in my toolbox. Were can i get it.
Avatar of hess

ASKER

I think we arn't understanding eachother. I mean source as in source code

<HTML>
<HEAD>
<TITLE>.....
Right click on the toolbox.
Select 'Components...'
Check 'Microsoft Internet Transfer Control'
Click 'OK'
Avatar of hess

ASKER

Thanks!