2 Replies - 4516 Views - Last Post: 20 March 2009 - 10:42 PM Rate Topic: -----

#1 nritzau  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 4
  • View blog
  • Posts: 66
  • Joined: 31-January 09

Status bar with the current browser status text

Posted 20 March 2009 - 10:33 PM

Hey, I've got the code to display the current browser status text in the status bar but i want it to display the name of my web browser aswell.

Example: Dreamincode.net - (Name of Webbrowser)

He is my code for the displaying staus text.

Private Sub webBrowser1_StatusTextChanged( _
	ByVal sender As Object, ByVal e As EventArgs) _
	Handles webBrowser1.StatusTextChanged

	toolStripStatusLabel1.Text = webBrowser1.StatusText

End Sub


Help will be appreciated. :) :D

Is This A Good Question/Topic? 0
  • +

Replies To: Status bar with the current browser status text

#2 CodingIlliterate  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 9
  • View blog
  • Posts: 32
  • Joined: 28-September 08

Re: Status bar with the current browser status text

Posted 20 March 2009 - 10:38 PM

Hey!
I think this will do,

Private Sub webBrowser1_StatusTextChanged( _
	ByVal sender As Object, ByVal e As EventArgs) _
	Handles webBrowser1.StatusTextChanged

	toolStripStatusLabel1.Text = webBrowser1.StatusText & " - (Name of Webbrowser)"

End Sub


This post has been edited by CodingIlliterate: 20 March 2009 - 10:39 PM

Was This Post Helpful? 1
  • +
  • -

#3 nritzau  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 4
  • View blog
  • Posts: 66
  • Joined: 31-January 09

Re: Status bar with the current browser status text

Posted 20 March 2009 - 10:42 PM

View PostCodingIlliterate, on 20 Mar, 2009 - 09:38 PM, said:

Hey!
I think this will do,

Private Sub webBrowser1_StatusTextChanged( _
	ByVal sender As Object, ByVal e As EventArgs) _
	Handles webBrowser1.StatusTextChanged

	toolStripStatusLabel1.Text = webBrowser1.StatusText & " - (Name of Webbrowser)"

End Sub



Hey Thanks that helped alot, simple but thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1