Uploaded by Aakashmichaeljackson on Jul 5, 2010
Ok Guys I Have fixed the code so first you have to delete everything in the form.vb and paste:
Public Class Form1 Dim int As Integer = 0 Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgressChangedEventArgs) ToolStripProgressBar1.Maximum = e.MaximumProgress ToolStripProgressBar1.Value = e.CurrentProgress End Sub Private Sub Done(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserDocumentCompletedEventArgs) TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle ComboBox1.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Url.ToString End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim Browser As New WebBrowser TabControl1.TabPages.Add("New Page") Browser.Name = "Web Browser" Browser.Dock = DockStyle.Fill TabControl1.SelectedTab.Controls.Add(Browser) AddHandler Browser.ProgressChanged, AddressOf Loading AddHandler Browser.DocumentCompleted, AddressOf Done int = int + 1 CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http://google.com") End Sub Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click Dim Browser As New WebBrowser TabControl1.TabPages.Add("New Page") TabControl1.SelectTab(int) Browser.Name = "Web Browser" Browser.Dock = DockStyle.Fill TabControl1.SelectedTab.Controls.Add(Browser) AddHandler Browser.ProgressChanged, AddressOf Loading AddHandler Browser.DocumentCompleted, AddressOf Done int = int + 1 CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http://google.com") End Sub Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click If Not TabControl1.TabPages.Count = 1 Then TabControl1.TabPages.RemoveAt(TabControl1.SelectedIndex) TabControl1.SelectTab(TabControl1.TabPages.Count - 1) int = int - 1 End If End Sub Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).ShowPropertiesDialog() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoBack() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoForward() End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Refresh() End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoHome() End Sub Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Stop() End Sub Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(ComboBox1.Text) End Sub Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click If RadioButton1.Checked Then CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http://www.google.co.in/search?hl=en&q=" & ComboBox2.Text & "&btnG=Google+Search&meta=") End If If RadioButton2.Checked Then CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http://search.yahoo.com/search?p=" & ComboBox2.Text & "&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8&fp_ip=IN&vc=") End If If RadioButton3.Checked Then CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http://www.youtube.com/results?search_query=" & ComboBox2.Text & "&search_type=&aq=-1&oq=") End If End Sub Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).ShowPrintDialog() End Sub Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).ShowPrintPreviewDialog() End Sub
End Class
-
34 likes, 21 dislikes
11:07
How to make a Very Advanced WebBrowser VB.net 2010by HQCoding10,475 views
2:05
My Visual Basic Web Browser (FrostyFox)by ImRandomKid10,826 views
1:48
My Own Operating Systemby Fromp46,834 views
10:06
How to make an advanced tabbed web browser in vb 2010 (Looks)by RainTechProductions8,027 views
0:49
password finder WORKS!!!!!!!!100%by vaibhav1477127,394 views
15:01
How To Make An Advanced Web Browser Visual Basic 2008/2010 - Part 1by italianman19964,784 views
1:53
Voice - a Computer Talking Programby BoneCrusher333319,710 views
7:30
[ TUTORIAL ] Visual Basic 2008 Auto Clickerby TibiaEc17,210 views
1:34
Olialia pretendente - Olga Krasnovaby Olialiapromo78,367 views
7:55
Xtreme Browser The Ultimate VB Webbrowserby XtremeDeveloper11,596 views
7:54
how to make downloader in visual basic 2008by MrInTelliGent4u17,147 views
7:32
Hacking Tools 6.0by MatzHKR171,630 views
4:33
Super Advanced Web Browser In Visual Basic 2010by UntouchedKnight9,213 views
1:44
My Visual Basic "Mini" Operating Systemby 2reallyboredguys15,335 views
5:38
Create Your Own Web Browser Without Programming.by ycubedable6,818 views
12:01
How to make an Advanced Web Browser Vb 2008/2010 Part 2by italianman19963,084 views
3:10
Best Web Browser of 2011by techguy1021059,615 views
7:41
How to Create Round Button in VBby ProgrammingCPU3,109 views
5:31
How to make an Advanced WebBrowser in Vb.net 2008 express editionby tdsmarine121,940 views
- Loading more suggestions...
this is fucked, doesnt work. Fuck it ill have to keep usng iron
nvm1ws 32 minutes ago
It sais end of statement expected. And i copy/pasted the code
JohnnyMassacreTV 1 day ago
It doesnt work for me. Any help?
JohnnyMassacreTV 1 day ago
@Dragonmk188 Yeah
Niskiist1 5 days ago
Good Tutorial thanks, please upload the code in txt because its mess here in youtube.
Dragonmk188 1 week ago
@BlackBullSoftwares What is the problem with you?
Dragonmk188 1 week ago
If someone wants to add a hotkey, for example go to website with enter key, follow my steps.
Double click on your combobox to enter coding. up in the right corner it should be a list. Scroll down to KeyDown and enter this key:
If e.KeyCode = Keys.Enter Then CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate
My combobox is named cbURL but if your combobox is named as standard change cbURL to ComboBox1
//PR0XZTech
PR0XZTech 1 week ago
Why Does The Code Shows On Row And Not Column?And I have An Error I Suggest You To Copy And Paste It In a NotePad And Upload It ;)
UniqueHax2011 2 weeks ago
@Ioncek
End sub
Marius7ss 3 weeks ago
you cant understand anything from the description
islamichp 3 weeks ago