473,493 Members | 4,347 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Webbrowser for VB

1 New Member
(Visual basic 2008 express edittion)
I have made a tabbed webbrowser and what i want is that when the webbrowser page is loaded

the name of it will go to the form text ,the tab text, and the apsolutepath at the URL textbox on top.

My problem is that i cannot find what i will put in the handle option becouse i want to handle all webbrowsers
Expand|Select|Wrap|Line Numbers
  1. Private sub AllWebBrowser_DocumentCompleted(ByVal sender As System.Object,ByVale As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs)
  2. Handles (?????)
  3. Me.text = (Ctype(Tabcontrol1.slectedtab.controls.item(0), webbrowser).documenttitle & (" - Prox"))
  4. Tabcontol1.selectedtab.text = Ctype(Tabcontrol1.slectedtab.controls.item(0), webbrowser).documenttitle
  5. textbox1.text = Ctype(tabcontrol1.selectedtab.controls.item(0),webbrowser).Url.tostring
  6. end sub
  7.  
Pls feel free to show me other ways to do it.

(if needed, this is the add tab button)

Expand|Select|Wrap|Line Numbers
  1.  Dim TP As New TabPage
  2.     TP.Text = "Blank Page" & (TabControl1.TabPages.Count + 1)
  3.     TabControl1.TabPages.Add(TP)
  4.     TabControl1.SelectedTab = TP
  5.  Dim NW As New WebBrowser
  6.     TabControl1.SelectedTab.Controls.Add(NW)
  7.     NW.Dock = DockStyle.Fill
  8.     NW.Navigate("www.google.com")
  9.  
Furthrer more...Can anyone tell me what references my webbrowser needs in order to open links?


Thanks for any response...
Dec 5 '10 #1
0 1224

Sign in to post your reply or Sign up for a free account.

Similar topics

0
3443
by: Jim Hubbard | last post by:
How would I implement the IDispatch interface to handle the following in VB.Net <BEGIN> Controlling Download and Execution The WebBrowser Control gives you control over what it downloads,...
5
3106
by: SPE - Stani's Python Editor | last post by:
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 "The Breezy Badger" and unfortunately this code is not working: >>> import webbrowser >>>...
12
6328
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
8
3381
by: Prosperz | last post by:
Hi, I would like to make thumbnails of web page by capture content of a WebBrowser. By example, capture http://www.google.com. I used WebBrowser control with Framework 2.0. I try this : ...
8
4606
by: Dustan | last post by:
At http://docs.python.org/whatsnew/modules.html on the webbrowser module, it says "A number of additional browsers were added to the supported list such as Firefox, Opera, Konqueror, and elinks." ...
11
2797
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
18
6820
by: Zytan | last post by:
I have multiple threads writing to WebBrowser (using a function that checks InvokedRequired, and if so, invokes itself on the WebBrowser thread) and they are getting deadlocked. They only...
4
3732
by: Gregory Bloom | last post by:
I'm running Python 2.5 under Windows. If I fire up IDLE and enter: it works like a champ, opening the page in Firefox. Same thing goes from a Windows cmd shell: it works as advertised. But...
11
2188
by: kimiraikkonen | last post by:
Hi there, I needed to use MouseOver event on Webbrowser which is NOT provided by webbrowser control natively(what a disappointment), so i decided to go with another route to simulate this like: ...
3
9417
by: TedTrippin | last post by:
Hi, Background - I've create a windows application in VS and added a WebBrowser component and all works well. I'm now trying to do this programmatically. My application now listens on a socket...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7192
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...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
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,...
0
3087
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...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
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 ...
1
637
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.