Help!! Web browser adress makes button visible?

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2008
Posts: 2
Reputation: yapper99 is an unknown quantity at this point 
Solved Threads: 0
yapper99 yapper99 is offline Offline
Newbie Poster

Help!! Web browser adress makes button visible?

 
0
  #1
Jun 15th, 2008
I was just wondering how i could make it so that if the url of webbrowser1 contains http:_____
then
  1. button1.visible = true
or if the webbrowser1 url does not contain the certain url then
  1. button1.visible = false

Thanks A lot,
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 509
Reputation: selvaganapathy is an unknown quantity at this point 
Solved Threads: 88
selvaganapathy's Avatar
selvaganapathy selvaganapathy is offline Offline
Posting Pro

Re: Help!! Web browser adress makes button visible?

 
0
  #2
Jun 15th, 2008
Hi,
You can use Navigated or Navigate Event. But this is new in .NET Framework 2.0

I think in the previous version NavigateComplete2 event

  1.  
  2. Private Sub WebBrowser1_Navigated(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatedEventArgs) Handles WebBrowser1.Navigated
  3. ' Your Coding
  4. End Sub
KSG
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC