473,384 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,384 software developers and data experts.

Browser Control StatusBar/StatusText properties don't work

Dan
Using a standard status bar control and the VB browser control I want to be
able to display the URL of a link that is hovered over in the browser
control. Documentation indicates that the browser control was designed to
let you set the StatusBar property to true and then use the StatusText
property in the StatusTextChange event to get the URL and display it. But
the StatusText property isn't implemented so this does not work. Is there
no way to accomplish this using the Browser control?
Jul 17 '05 #1
3 7213
Seems to work here ...

Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)

StatusBar1.Panels(1).Text = Text

End Sub

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Dan" <Da*@NoSpam.com> wrote in message
news:Tp********************@comcast.com...
: Using a standard status bar control and the VB browser control I want to
be
: able to display the URL of a link that is hovered over in the browser
: control. Documentation indicates that the browser control was designed to
: let you set the StatusBar property to true and then use the StatusText
: property in the StatusTextChange event to get the URL and display it. But
: the StatusText property isn't implemented so this does not work. Is there
: no way to accomplish this using the Browser control?
:
:
Jul 17 '05 #2
Dan
I can't believe I missed that. I was using

StatusBar1.Panels(1).Text = WebBrowser1.StatusBar.StatusText

which generates runtime error "Method 'StatusText' of object 'IWebBrowser2'
failed"

Thanks!

"Randy Birch" <rg************@mvps.org> wrote in message
news:Zo*****************@news02.bloor.is.net.cable .rogers.com...
Seems to work here ...

Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)

StatusBar1.Panels(1).Text = Text

End Sub

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Dan" <Da*@NoSpam.com> wrote in message
news:Tp********************@comcast.com...
: Using a standard status bar control and the VB browser control I want to
be
: able to display the URL of a link that is hovered over in the browser
: control. Documentation indicates that the browser control was designed to : let you set the StatusBar property to true and then use the StatusText
: property in the StatusTextChange event to get the URL and display it. But : the StatusText property isn't implemented so this does not work. Is there : no way to accomplish this using the Browser control?
:
:

Jul 17 '05 #3
well sedth hat hd to will no man belong in this mwessage!
Dan <Da*@NoSpam.com> wrote in message
news:Tp********************@comcast.com...
Using a standard status bar control and the VB browser control I want to be able to display the URL of a link that is hovered over in the browser
control. Documentation indicates that the browser control was designed to
let you set the StatusBar property to true and then use the StatusText
property in the StatusTextChange event to get the URL and display it. But
the StatusText property isn't implemented so this does not work. Is there
no way to accomplish this using the Browser control?

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Job Lot | last post by:
I am creating a custom StatusBar control which houses a ProgressBar control. How can I show all the properties of embedded ProgressBar control on design time? I want the property window of...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
4
by: Greg Oetker | last post by:
Hi All, I'm looking for a good example for writing a User Control that does not expose the properties of the User Control itself (ie. Tab Stop, Password, Colors, etc.). I only want to expose the...
7
by: Webbee | last post by:
What I need is to be able to get the location of a panel on the status bar. When I was looking to add a progressbar to the statusbar I learned that the best and maybe only way to do this is by...
10
by: Yuk Tang | last post by:
Another step on the road to enlightenment, aka producing a UI. I've added a webbrowser control to a form, and I want it to fill the space of the form. Playing around with docking, left, top,...
3
by: Mateusz Rajca | last post by:
Hello! I am using the .NET Web Browser control (not Microsoft Web Browser COM). How can I code this: When the user clicks on a link that will open a new window/tab, instead of opening Internet...
2
by: Lyle Fairfield | last post by:
I am using Microsoft’s Web Browser Control embedded on an Access Form to browse a specific site. I have a good reason for doing so; the pages on this site run code which aborts their display unless...
1
by: herve | last post by:
Hi, everybody I'm working with wxPython 2.8.1.1. Does anybody know how to change the foreground colors in a wx.StatusBar
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.