473,804 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 StatusTextChang e 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 7232
Seems to work here ...

Private Sub WebBrowser1_Sta tusTextChange(B yVal Text As String)

StatusBar1.Pane ls(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******** ************@co mcast.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 StatusTextChang e 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.Pane ls(1).Text = WebBrowser1.Sta tusBar.StatusTe xt

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

Thanks!

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

Private Sub WebBrowser1_Sta tusTextChange(B yVal Text As String)

StatusBar1.Pane ls(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******** ************@co mcast.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 StatusTextChang e 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******** ************@co mcast.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 StatusTextChang e 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
1438
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 StatusBar control, shows all the properties of the progress bar. Thanks
12
10181
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 scrollbar, you get the height of the entire document, screwing up any chance of centering a window in the browser using these values. Is there a way to get the height of the actual browser window and not the entire page height? Thanks.
17
2580
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 with a link to old information that suggests use of "navigator": http://developer.irt.org/script/43.htm
4
5121
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 Properties and Methods I created. Also, I would like to make it invisible at runtime (this.visible = true; works fine). One last thing is how can I make it go to the bar where all other non runtime controls (ie. Timer, Menus, Statusbar, etc.)...
7
1298
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 moving the progressbar at run time and making it fit in one of the panels. Well I found a VUMeter control that I would like to use in my project but need to be able to grab the location of a panel then apply that location to the VUMeter. Can someone...
10
3263
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, width, height resolutely refuses to do this, as it remains docked top-left at around 100,100 within the form, with a size of approx 300,250. How do I fill the winform with the wb control? Reading further, it looks like another argument for...
3
22596
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 Explorer with the link, it creates a new tab and navigates to that link (my web browser is tab based). I just need help getting the URL of the clicked link so that the web browser control on the new tab can navigate to it. Any help? Matt
2
10401
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 their window is the top window; they also treat all child windows as not-logged in windows. So I have not accomplished what I want with HTA’s or IFrames or Pop-Up Windows. But the Access Form/MS Web Browser combination gives me a top window with...
1
2695
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
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.