EasyRider
asked on
Show URL on mouseover w/WebBrowser
Using the IE WebBrowser in a VB project, how can I show the URL in the StatusBar when the mouse is over a link?
On your form put webbrowser control and a statusbar
and code like this.
Private Sub Form_Load()
StatusBar1.Style = sbrSimple
WebBrowser1.GoHome
End Sub
Private Sub WebBrowser1_StatusTextChan ge(ByVal Text As String)
Form1.StatusBar1.SimpleTex t = Text
End Sub
and code like this.
Private Sub Form_Load()
StatusBar1.Style = sbrSimple
WebBrowser1.GoHome
End Sub
Private Sub WebBrowser1_StatusTextChan
Form1.StatusBar1.SimpleTex
End Sub
Or to use with style sbrnormal...
Private Sub Form_Load()
StatusBar1.Style = sbrNormal
WebBrowser1.GoHome
End Sub
Private Sub WebBrowser1_StatusTextChan ge(ByVal Text As String)
StatusBar1.Panels(1).Text = Text
End Sub
Private Sub Form_Load()
StatusBar1.Style = sbrNormal
WebBrowser1.GoHome
End Sub
Private Sub WebBrowser1_StatusTextChan
StatusBar1.Panels(1).Text = Text
End Sub
ASKER
Triskelion, sorry, your answer is more for HTML writting then a VB project. jbil's comments is the correct answer I was looking for since it is VB code and not HTML code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use a combination of onMouseOver and window.status
http://home.sprintmail.com/~hines/photog.htm
<A HREF="cowboy01.jpg" onMouseOver="window.status