By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,023 Members | 1,297 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,023 IT Pros & Developers. It's quick & easy.

Browser Control StatusBar/StatusText properties don't work

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.