Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Show URL on mouseover w/WebBrowser

Posted on 1999-06-26
5
Medium Priority
?
736 Views
Last Modified: 2012-06-27
Using the IE WebBrowser in a VB project, how can I show the URL in the StatusBar when the mouse is over a link?
0
Comment
Question by:EasyRider
[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
  • 3
5 Comments
 
LVL 6

Expert Comment

by:Triskelion
ID: 1519941
You can control that functioin with HTML.
Use a combination of onMouseOver and window.status

http://home.sprintmail.com/~hines/photog.htm

<A HREF="cowboy01.jpg" onMouseOver="window.status='Film=HP5';return true" onMouseOut="window.status=''"><img src="s_cowby1.jpg" width=72  height=100 alt="cowboy01.jpg" border=0><br>Cowboy 1</A><td>
0
 
LVL 3

Expert Comment

by:jbil
ID: 1519942
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_StatusTextChange(ByVal Text As String)
Form1.StatusBar1.SimpleText = Text
End Sub

0
 
LVL 3

Expert Comment

by:jbil
ID: 1519943
Or to use with style sbrnormal...

Private Sub Form_Load()
StatusBar1.Style = sbrNormal
WebBrowser1.GoHome
End Sub

Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
StatusBar1.Panels(1).Text = Text
End Sub

0
 

Author Comment

by:EasyRider
ID: 1519944
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.
0
 
LVL 3

Accepted Solution

by:
jbil earned 400 total points
ID: 1519945
On your form put webbrowser control and a statusbar
and code like this.


Thanks for the points.

Private Sub Form_Load()
StatusBar1.Style = sbrSimple
WebBrowser1.GoHome
End Sub

Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
Form1.StatusBar1.SimpleText = Text
End Sub

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…
Suggested Courses

660 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