Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
webbrowser question
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-17-2010, 04:57 PM
mama luigi's Avatar
Newcomer
 
Join Date: May 2010
Posts: 11
Default webbrowser question

i am creating a webbrowser and i have encountered a problem i cannot seem to fix.

My webbrowser is a tabbed webbrowser and whenever i switch tabs, the textbox is supposed to show the current page address. Example:

I have two tabs open, one is on Google and the other tab is on Yahoo. I loaded google last so the textbox says "Http://www.google.com", then i click on the yahoo tab, and it still says "http://www.google.com". How can i fix it so the textbox will say "http://www.yahoo.com" whenever i click on the yahoo tab, and will change back to "http://www.google.com" if i click on the google tab again.


Sorry if this doesn't make any sense , and thank you in advance
- mama luigi
__________________
Current VB Projects:
Scripting Engine v1.0
Reply With Quote
  #2  
Old 06-17-2010, 09:47 PM
Guru
 
Join Date: Jun 2005
Location: Canada
Posts: 1,844
Default Re: webbrowser question

I've never used browser controls. Your best bet is probably post this on stackoverflow.com.
__________________

Reply With Quote
  #3  
Old 06-17-2010, 11:40 PM
itsboom's Avatar
Forum Addict
 
Join Date: May 2010
Posts: 290
Default Re: webbrowser question

Try posting this on dreamincode.com
Make sure you are detecting when a window gains focus, then changing the textbox
Reply With Quote
  #4  
Old 06-29-2010, 11:17 PM
Newcomer
BANNED
 
Join Date: Jun 2010
Posts: 6
Default Re: webbrowser question

dreamincode.com is a great site for this
Reply With Quote
  #5  
Old 02-11-2011, 04:06 AM
Usman55's Avatar
Newcomer
 
Join Date: Oct 2008
Posts: 15
Default Re: webbrowser question

I understand your problem. I recently made a webbrowser too... And as for your problem, put in the tablcontrol1.selectedtabchanged or maybe selectedindexchanged the code to set the textbox's text to webbrowser's url. it's easY!
Reply With Quote
  #6  
Old 02-13-2011, 12:46 AM
Member
 
Join Date: Oct 2010
Posts: 38
Default Re: webbrowser question

Put this in a function for each tab when theyre clicked.
Code:
Private Sub NewTab2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabPage2.Click
        Dim URL As String = Browser.Url.ToString
        TextBox2.Text = URL
    End Sub

Last edited by Nemesis4895 : 02-13-2011 at 12:47 AM.
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 05:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1