Added: 3 years ago
From: LogOnLegsProductions
Views: 15,482
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (174)

Sign In or Sign Up now to post a comment!
  • @ExsplosiveProduction, it works for me i dont know why it dosen't work for you. I was in youtube all day on my browser

    .

    Yet i didnt use his code, i used my own.

    Nice video by the way.

    Not really advanced but i admire you.

  • HOW THE HELL DO I VIEW VIDEOS IN THE BROWSER I KNOW IT HAS SOMETING TO DO WITH FLASH

  • lol

    NULL

  • Hows that advanced (no bookmarks, history, google search,refresh,stop,options,st­yles and more!!!!!!!)

  • can u make a tutorial how to make a bookmarks pls cuz my code don't work :(

    My.Settings.Bookmarks.Add( WebBrowser.Url.ToString)

    t

  • what r u record with?

    how u doing that arrow?

    btw nice tutorial

    answer please

  • Source?

  • @VisualBasicGeek2010 For what?

  • @LogOnLegsProductions For some reason, when i load the application, the tabs do not say "Page " then the number of the tab it is.

  • real code for the browse_done

    Private Sub browse_done(ByVal Sender As Object, ByVal e As Windows.Forms.WebBrowserDocume­ntCompletedEventArgs) CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).Navigate(ToolStrip­TextBox1.TextBox.Text) End Sub

    copy that

  • The variable "browse" has no value :-S

  • Ah! I forgot the "new" :-)

  • why do i get really long tab names instead of web site names i get the full code

  • CType(TabControl1.SelectedTab. Controls.Item(0), WebBrowser).Navigate(ToolStrip­TextBox1.TextBox.Text)

    the comma before WebBrowser) error character is not valid please help.

  • Use public subs in a module instead :) and call the public subs from your whatever buttons.

  • im not stuck but idnt understand whats going on

  • nope not stuck what he said was ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserDocume­ntCompletedEventArgs yay

  • lol 1:40?

    im stuck now D:

    like documentofwebbrowser competed esfhsidofhijsdfhb lol

  • I am having troubles with the back command in the coding section, it appears the code is out-dated, care to gimme an alternative?

  • Outdated?

  • Put some codes

  • @LogOnLegsProductions Anything work for me :'(

  • what did he say at 1:40

  • something like DocumentsCompletedEventsArts() lulz

  • args

  • LOL IMAO WTF LOL

    1:40 - 1:42

  • 78uypio;op[ippio

  • i got an error on TabControl1.SelectedTab(i) that says property must be assigned and help me

  • Its : TabControl1.SelectTab(i)

  • 4 errors :|

    Type "Item Could not be Found"

    Array Bounds Cannot Appear Around Specifiers

    Variable "browse" is used before it is assigned a value

    Help please

  • i get 2 same errors of the same which says

    "Property access must assign to the property or use its value."

  • brilliant! works perfect

  • Comment removed

  • YOU TALK LOUD ENOUGH!

  • how can i set a homepage for this?

  • Comment removed

  • THANK YOU!

  • awesome tutorial

    but i wanna know something...

    if i close every tab and close another tab, my browser doesn't work anymore..i need help pls

  • I am trying to learn how to connect to web forms, fill them out and submit them.

    Does anyone know how to do this??? If so, I am willing to pay $100 for anyone to teach me this in VB 2008.

    I will pay $100 via PayPal donation or however you wish to collect the payment.

    I need to learn this urgently !!!

  • 2:09

  • sorry man its a good tut but in a hurry click i come to clcick pure/1.0 rate but i would have given it 5/5

  • can someone help me i received 27 errors when i played it

  • AH! what happened?! i made a browser before and it worked fine, but now....I'm having an ERROR with the navigation part! PLEASE HELP!

    I get this error:

    Index 0 is out of range. Parameter name: index

    Please HELP!

  • thanks a lot

  • "oopsies" ROFL :)

  • u sound like its boring but programming is fun :)

  • Hey, uh... HUGE ERROR

    When you close a tab and than open one, the program crashes.

  • Yes thats right!.. :( Any one knows how to fix?..

  • Never mind fixed it :)

  • Hey LogOnLegsProductions how did you do that? just drawing the arrow thing and what cam did you use it looks cool!!!!!!!!!!!

  • Gah this guy is an idiot! annnnnnnnnnnd thats it.

  • Great tutorial!!!

  • CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).Navigate(ToolStrip­ComboBox1.ComboBox.Text)

    hey dude it keeps getting an error.... but i cant find the glitch what should i do to this line?

  • What is the error?

  • @LogOnLegsProductions

    the error is NullRefrenceException was unhandled

    i keep getting it too when i press go

  • Try this

    if an error occurs or have a dought about vb, then pm me

    ******************************­***

    CType(TabControl1.SelectedTab. Controls.Item(0), WebBrowser).Navigate(ToolStrip­ComboBox1.Text)

  • omg, this is bad.

    good is:

    CType(TabControl1.SelectedTab. Controls.Item(0), WebBrowser).Navigate(ToolStrip­TextBox1.TextBox.Text)

    because you type ComboBox1 so i change TextBox1 and si good :D

  • @defoliators01 CType(TabControl1.SelectedTab.­­Controls.Item(0), WebBrowser).Navigate(ToolStrip­­ComboBox1.ComboBox1.Text)

    not CType(TabControl1.SelectedTab.­­Controls.Item(0), WebBrowser).Navigate(ToolStrip­­ComboBox1.ComboBox.Text)

  • i have this code as go button CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).Navigate(Tool.Stri­p.textbox1.textbox.text) it says Tool is not declared and if i take out the . it says toolstriptextbox1.textbox.text is not declared please help?

  • try toolstrip1.textbox1.textbox.te­xt

  • ok ty i fixed it but how do i make it not make multiple items? can i?

  • im making a history but i keep getting this error"Value cannot be null. Parameter name: item" can i fix it and heres my code "ComboBox1.Items.Add(CType(Tab­Control1.SelectedTab.Controls.­Item(0), WebBrowser).Url)"

  • do not put a space between Tab and control. Also make sure that a webbrowser page is open

  • Oh and this code can only be called after the page is loaded

  • Comment removed

  • I tried the code but it didnt work and neither did this code. Me.ToolStripComboBox1.Text = CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).Url.ToString can u help.

    Thnx

  • PS: How to create a working progres bar for every tab? What event to use?

    Please answer quick?

  • Variable 'browse' is used before it has been assigned a value. A null reference can result at runtime.

    How do I fix this?

  • You forgot the new.

  • Good but now I got a syntax error.

  • 2:53

  • I got this Error

    InvalidArgument=Value of '1' is not valid for 'index'. Parameter name: index PLEASE HELP!

  • Where ever it highlights replace the 1 with 0

  • the tabs had an error to me

    it said

    Index 0 is out of range. Parameter name: index

    This only happens when the tab is not the first opened tab

  • can you please help me on the tabpage size because my tab page came out mini.........

  • the code "Dim browser as new webbrowser"

    it said that a type is expected any reasons?

  • deadlyscone, add a PROGRESSBAR where ever you want and

    for a nontabbed browser, go to the progresschanged event of your webbrowser. there code - PROGRESSBAR.value=e.currentpro­gress

    and thats it, over here, you see that addhandler? add another one as progresschanged and

    PROGRESSBAR.value=e.currentpro­gress

  • how do you put a progress bar on a tabbed or even non tabbed browser? please reply

  • Holy cow, how old are you? your really talented dude.

  • How do I add a homepage to the browser?

  • How do I stop tabs being closed so there has to be atleast 1 tab open

  • i would try

    If Tabcontrol1.TabCount = 0 Then

    Msgbox("You Must Keep At Least One Tab Open At A Time",Critical,"Error")

    Exit Sub

    Else

    TabControl1.TabPages.RemoveAt(­TabControl1.TabIndex)

    End If

  • somehow the tab text doesnt work on the first tab but on all others :/

  • how do i make the tab text code cuz it doesnt work for me

  • hello. very nice tutorial. learned a lot from it. is there any way to set a homepage for this too? when you use webbrowser instead of a tabcontrol, you are able to set a url for it. can you do that for a tabcontrol?

  • the browse done code doesnt work for me

  • yeah same here

  • Has anyone managed to add a progress bar to the tab Browser? ...am having not luck at all.

  • i got a question (Good vid by the way) i keep getting an error......InvalidArgument=Val­ue of '2' is not valid for 'index'. Parameter name: inde...., i need some help i don't see the problem and my interpretation skills are a bit off anyone got suggestions

  • Whaere it highlights is probably Ctype(tabcontrol1.selectedtab.­controls.item(0), webbrowser).whatever

    The item(-) has to be item(0). u probably put item(2)

  • hey does anyone know how to make the progress bar work. i can do it with a non-tabbed broswer by using

    ToolStripProgressBar1.Maximum = Convert.ToInt32(e.MaximumProgr­ess)

    ToolStripProgressBar1.Value = Convert.ToInt32(e.CurrentProgr­ess)

    dont kno how to get it to work with this tab set up

  • Worst tutorial ever! Makes the most simple thing very difficult! Show the damn code damnit!

  • The point of the tutorial is so you can learn from it. It's not just so you can get a code to copy down, cause like that you don't learn.

    I however found this tutorial to be very helpful, and I learned a lot from it.

  • No you learn by looking at examples and getting the idea. Everyone learns differently!

  • True, but you don't learn by getting the code, and just using the code without over looking it.

    Like with Web templates for example, if you just take the codes and put them down you're not learning shit. You just have a web template that someone else made, but when you over look the codes, and start to understand then, and mess with them yourself. Then you'll start to understand them. (That is if you don't research, and actually try to learn)

  • I don't do much CSS yet, but I do HTML. I learn best when I look at examples and try it myself. Than that tells me that this code does this. Despite the fact that its cheap, it still counts as learning.

  • will somebody help? did nobody notice that the textbox doesnt show the url of the page you go to?

  • textbox1(dot)text = webbrowser1(dot)url

  • it seems as if everyone but me has problems with it

  • lol , i managd to add a 'file' menu with an exit button that works , and a refresh button that im still working on

  • Nevermind Its Back. When I type an address in the Address bar and click on the navigate button, it says "Object reference not set to an instance of an object". Please Help!!!

  • i need help with the first set of codes you went to fast

  • Thanks for the tut ... everything works fine except 1 thing ... i dont see the browser in my tabs ... its like if the tabs were over the actually browser and when i wanna naviguate it only does so on the webbrowser ... the tabs just stay plain white over the webbrowser ... any ideas??

  • NEED HELP. When I enter an address in the box and press the navigate button, it says

    "Object reference not set to an instance of an object."

    PLEASE HELP ME

  • Nevermind. I got it working!!

  • oh my god, this is like HELL! i see new problems all the time.

  • im having problems with the tab name, i cant get it to say the name of the site, it just says "Page 1" on all tabs. really wierd!

    ive double checked like 10 times now, there isnt 1 single error in the code!!!

    plz respond :)

  • no probs, i got it.

    btw, if anyone is having trouble reading the code... add

    &fmt=18

    to the end of the url.

  • hmm WTF dude? it help LOL

  • This makes absolutely no sense... i have the code right but every time, anywhere, i type tabcontrol1 i get an error saying name "tabcontrol1" is not declared. why is it doing this??? please help...

  • good lord when you copied and pasted that thing after eventargs, how am i supposed to get that down?

  • Dam right!! WTF!!!!!!!!

  • ok i fixed part of it

    the errors are fixed but now it has 2 warnings both saying

    Variable 'browse' is used before it has been assigned a value. A null reference exception could result at runtime.

    Please help any1..

  • How did u fix the error? it says something is wrong whenever i try to type this in:

    TabControl1.SelectedTab(i)

    It says "Property access must assign to the property or use its value."

    Please help me out, ;)

  • Its not TabControl.Selectedtab(i)

    Its TabControl.SelectTab(i)

  • No! its TabControl1.SelectTab(i)

  • yeah, i figured it was going to be that. Because I was also trying TabControl1.SelectedTab.Equals­(i)

    But then i was having some trouble with navigating to webpages ;) Thanx anyways man!

  • my

    (i, "Page " = & i + 1)

    the & says expression expected

    TabControl1.SelectedTab(i)

    says that Property access must assign to the property or use its value.

  • geart vid man helped alot just one question what is the code at the end of Browse_done after .WebBrowserDocumentCompletedEv­entArgs??cus im getting the little red box under the s in args that's the only error i have...

  • Windows.Forms.WebBrowserDocume­ntCompletedEventArgs)

    Make sure it's closed??

    Mine Works

  • oh thank's i didn't see that parenthesis..

  • no problem glad I could help

  • Works well, occassionally gets an error if you try to use it too fast.

  • Boyee next time put the code on the description , I pajiao (cock-eyed , cannot see properly)

  • Ive got that error you got, but the i = i - 1 didnt fix it.

  • Firstly I would like to say well done !

    I have one question however, when you change tabs, surely the address bar should change.

    What would the code for this be ?

    Addressbar.Text = CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).URL.ToString()

    This code doesn't work ? Whats the correct way ?

    DJ PIP

  • Addressbar.Text = CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).URL.ToString()

    Addressbar.text.Value = Null

    try that

  • Thanks

  • Can you teach me for control Progress bar please

  • Thank you for show how i can add dynamic controls

  • what program youhh usin to get alll of them effects

    they are awesome...

    and nice vids...

    i learned a lot from em

  • Thank you so much!!!

  • Dim browse As New WebBrowser

    You forgot the "NEW" Part... or else it doesn't make the webbrowser! this is only in VB2008

  • it says browse is not declared before it has been used?

  • me to!

  • works great! thanks XD

  • i got an error when i type this :

    TabControl1.SelectedTab.Text = CType(TabControl1.selecedtab.C­ontrols.Item(0), WebBrowser).documettitle

    The error in the code is :

    (TabControl1.selecedtab

    please help me

  • You spelled selectedtab selecedtab(no t next to c)

  • man I got a problem when I add a tab! it doesn't work! its telling me that its an error

  • man me too!

  • me 2 >:(

  • i got the whole code, but i edited some things couse some things didnt work :S

    also... i used buttons, and not toolstrips and things... it just looks crappy!

    if anybody want the code i can send it.

  • I got the full code

  • I found the play button.

    but the "Go" button doesn't work it comes up with a error says something about about the "Item(0)" thingy.

  • Where is the "Play" Button?

  • can you please send me all the code here on youtube? please

  • I have done everything the tutorial saidbut the go button doesn't work :( (and probably not the other buttons either...) Oh and my Toolstrip keeps overlaping my tabs when i use Dock - Fill. Thanks in advantages for any help i get. BTW i'm using 2008

  • I fixed it, but i can't get the progress bar to work... it worked before i made mt browser tabbed :(

  • I can see the part after AddHandler Browse.DocumentCompleted, AddressOf

  • Sorry I mean that I can't see the part after the addhandler browse.documentcompleted,adres­sof

  • How do I make the Progress bar work with tabbed browsing? Before it worked when I didn't have the tabcontrol component added, but now it doesn't work. Any ideas?

  • dude i catn see the last part about new tab you never zoom in to it can you tell me it?

  • I got it all to work great, but my problem is:

    When it opens, it'll create a tab with the browser and everything, right?

    Well when I create a new tab myself, the Web Browser isn't in the tab.

    Can anyone help me with that?

  • can you please send me the code starwarsfan567 that you got from the tutorial?> I can't see all the code.

  • Hi Roman, how u?

    I was getting the same error as you by closing all tabs and opening a new tab becoz i realised that i had i + 1 = 1 which it should be i + i = 1 so if anyone downloads the code from someone in the tutorial 1 make sure u review it all.

    Roman when i have no tabs (all closed) and i type google(.)com it gives me an error becoz there is no tabs how can fix that? u know firefox, u dont need any tab to start navigating only if u want another website u add a new tab.can u fix it mate?

  • Well done for such a great tutorial but one question, what is the code for the Progress bar coz none of them work now coz of the tabs?

  • sorry for the last one.. i got it right.. thanx very much i now got my first web browser !!!

    For the code download here guys.. :

    uppit(.)com/5S9IBE I Uploaded it.. :) just remove the ( )

  • 1.'WebBrowser is a type and cannot be used as an expression.

    2. Syntax error in cast operator; two arguments separated by comma are requiered Got these two error any solutions?

  • thx man its great but i know

    something that will make it better

    Put this in a timer that is ENABLED and interval= 50

    Me.Text = TabControl1.SelectedTab.Text

    that way the title of your tab will be displayed in the tile of your form

  • need help with TabControl1.SelectedTab = CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).DocumentTitle part

  • yea if u upload the code it would be great

    i get an error 2 with the browse_done ..

    but it's a great tut and i think ur a very very good programer

  • could you upload the source code to a website like rapidshare so i can download it and work off it?, i will give you credit if i use ur cource code.

  • Hey dude, how did you get to the Form_Load?

    I don't have a Form_Load in my code page... if you can just paste the code for a Form_Load would you mind posting it? I am talking about the entier Form_Load thing.. the blue at the top.. not what goes in it, lol - man I am a noob =\

  • Also: VB 2005/2008 make a tabbed web browser tutorial has been removed :'(

  • Please post all the codes! Omg I cant see the freakin screen! D:

  • Sorry for the blur. DON'T WATCH THIS IN FULL SCREEN! I can't paste the code. Waaaaaaaayyyyyyyyyyy too long. sry =(. I will try to repost the tut in better quality.

  • What is the very long code that you mentioned after Windows.Forms.WebBrowserDocume­ntCompletedEventArgs

    I cant see, the screen is too blury :S

  • I got it,but the WebBrowser code part keeps giving me an error.Saying "Type Expected"

    TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).Documenttitle

  • Hey Roman, I don't mean this to sound condescending, but for a kid, you are brilliant. These are awesome tutorials. And I'm not just saying that. Compared to other tutorials here on youtube, these are more advanced and what people looking to learn how to program are looking for. Also, the zoom deal that you do on your videos helps a grip bro. Keep up the good work. Greatful for the vids.

  • hnaks for the support. And about the fact that i'm a kid yor sorta right. Im 12 years old. =P

  • on the Private Sub browse_done(ByVal sender As Object, Byval e As Windows.Forms.WebBrowserDocume­ntCompletedEventArgs the "s" on the end of args got an error

  • Can you pm me your code, becuase on the browse_done where you put in Ctype(tabcontrol1.selectedtab.­controls.item(0),webbrowser)

    This gives me an error saying that it could not be converted to string... please help because this is the only guide i have gotten to work this far with the tabs.....