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

Link to this comment:

Share to:

All Comments (245)

Sign In or Sign Up now to post a comment!
  • Skand

  • WHAT IS 'i' REPRESENT???

  • get a fuckin mic -.-"""""""

  • hey dude i have a problem...TabControl1.SelectTa­b(i - 1). InvalidArgument=Value of '-1' is not valid for 'index'. =(

  • @jboribor Yeah me 2!.I'm asking him that what i represents. I don't know WTF he's telling.

  • try not to breath in the mike it gets a little annoying for me anyway

  • thank u Roman. i like both of u(browser&u). bcoz this is my Project topic!!!

  • What do you put for declarations

    Like for webrowser 1 new window event

    How do you do that withthe tabs

  • Does this work in vb6.0 ??

  • Comment removed

  • no errors now come up... but now all my tabs show up as the same. (like type a different adress on the a tab, all the tabs change....

    please help! :/

  • this doesn't work -i copied it just comes up with 9 errors:O

  • some thing is wrong with it i think you should put the resources code that will make it easer for us

  • oh and great tutorial thx

  • how can i make a remove tab button to remove a tab

  • What do you replace "Browse" with? The name of what?! I'm lost.

  • @TheMrDeanie you dim it in beggining

    

  • WHAT IS BROWSE???? I DON't UNDERSTAND A WORD U SAY!!!!!

  • Comment removed

  • when you change the tab....the textbox must show the selected tab 's website address.....its not showing in ur browser check it........

  • What a messed up tutorial I couldn't understand a thing and then you made me correct things.....:'( You totaly messed up my web browser you jack ass...

  • What a messed up tutorial I couldn't understand a thing and then you made me correct things.....:'(

  • I found your voice annoying, nice video anyways...

  • how i can make a button who close a tab???

    Thanks!

  • great video

  • why did you put "How to make a tabbed web browser in vb 2005 and 2008"

    08 Codes is WAY different the 05...

  • what if i wanted to use a combobox instead of a textbox?

  • close tab?

  • how to make an exe please??

  • Comment removed

  • How can i remove Tabs? I used this code:

    If TabControl1.TabPages.Count = 1 then

    Button2.Enabled = False

    Else

    Button2.Enabled = True

    End If

    But when i click on Button1(Add Tab) and then on Button 2(delete tab) and again on button 1, it says "Argument out of range Exeption"

    Can you help me?

  • Nice tutorial, man. Really helped me.

  • Thank You So Much Your Awesome rated and subbed

  • check out mine at mfbiz.mfbiz.c*m/#/zendosbrowse­rdownload/4541064078

  • how can i make it when i press "ALT" and "T" button down i open a new tab?

  • Does it have to be TabControll

    double L at end

  • @PopulardayOfApril It's TabControl1. It has a 1 at the end, not double L.

  • oh i know what i did wrong, thanks

    the code for deleting a tab, i putted it also on the form load, so it automaticly makes AND delete a tab thanks.

  • oh my first problem is fixed but now i got an other problem:

    when i start my webbrowser, in the begin there is no white field, just grey.

    if i hit add tab there comes a white field but in the begin not, so if i don't hit add tab in the begin and i type an url and hit go, the program just quit.

  • @weerwolf007 Did you add the code for adding a new tab to the Form load sub, if not double click on your form and then copy and paste the add tab code into it.

  • if i maximize my webbrowser, the field where the website is in, is still the format from when the browser was small.

    how can you do that the field where the site si in, also maximize?

    tnx

    ps: i'm sorry for my english but i'm dutch

  • If you are using Visual Studio 2008 (Visual Basic), then you need to type 'System.Windows.Forms.WebBrows­er' instead of just 'WebBrowser'.

  • thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you hank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you

  • ty:D but u cant whistle XD

  • Your tutorial has been a great help! you are a Legend.

  • I wached a lot of videos on youtube and made my webbrowser

    "KiK-browser 2.0"

    search on youtube and lock it's great

  • @teen3564

    Thank you so much! :]

    I was about to shut my project down!

    THANK U! <3 :D

  • 8 Errors same message..

    Name "i" is not a declared

    What shall i do? :(

    PLEASE HELP ME!!

  • Did you do Dim i As Integer = 1?

  • Yes just double click form 1

  • I will help you in a Video just add me as a friend then ill put you in my need list for video's

  • What Did You Name Browse ? The Tab Control ?

  • Dw I Know Everything Worked Well Except when i click new tab it says tab 1 tab 2 then i click it again and it says tab 2 and again tab 2

  • Comment removed

  • when i try to install flash player to my web browser it says that it cannot be installed to a 64 bit browser, anyway to change the browser to 32bit? thanks great tut

  • no sry :/ but from what i heard the new adobe flash player (10.1) is supposed to work with 64-bit, i looked into it lol, i had the same problem

  • Ur new tab code doesnt work :(

    it doesnt create a new webbrowser..

    Pleaase help :S

  • Remove Tab?

  • oh haha duh lol nevermind i had it in the wrong spot thanks alot bud realy great tut. realy keep it up and i am subscribing because you did such a great job Thanks again

  • Does anyone know how to get the controls to expand when u maximize the browser??

    Plz click reply if you are replying to this... so I know somebody replyed.

  • Just anchor your control. For example, set your anchor to top, left, and right. You can set your anchor in the properties box in Visual STudio.

  • Thanks for trying to help but this seems to just move controls instead of expanding them. For example I want more browsing space when this maximizes.

  • geckofx is a free webengine, and it´s faster than the normal webbrowsercontrol

  • why u didnt use geckofx?

  • what is geckofx? what was I supposed to do with it? I guess I didn't use it because I don't know what it is.

  • @LogOnLegsProductions Dude, whenever i make a new tab on my browser, it has now web browser on the new tab. What do i do?

  • @LogOnLegsProductions geckofx is the mozilla firefox engine

  • @LogOnLegsProductions gecko is the layout engine for firefox and other stuff

    Whats more, it open-source!!

  • only poor webbrowser, nothing new or so

  • how would you make a delete tab button, what would be the code?

  • Easy - Tabcontrol1.tabpages.remove(ta­bcontrol1.selectedtab)

    i = i -1

    Thats it =D

    Good luck

  • @LogOnLegsProductions how would you have to put it?

  • this browser isnt really good, you´re only using the microsft internet browser control, that´s not new

  • theres an interesting error with the tab buttons, if you close all tabs and click open the broweser will freeze. i found a fix for that: double click the close tab button and make a new line of script, write: i = i - 1

  • umm how do i do this plz help.

    i have a twitter, facebook and myspace button but how do i make it go to that website when i click on it please help

    if you could give me the code i will subscribe Thanks

  • I get this error whenever i click go: Index 0 is out of range. Parameter name: index

    For the Go Button Coding what do i do?

  • Looks like you are not creating tabs properly. check your tab creation code.

  • Go button code: ctype (tabcontrol1.selectedtab.contr­ols.item(0 ),webbrowser).navigate(textbox­1.text)

    Whenever i debug, then type in a site then click "go" i get this error 0 is out of range. Parameter name: index

  • no spaces srry

  • yeah, when you load the webbrowser it has to create a new tab(the one you are trying to get into right now). Can u post up that code?

    the

    dim browse as new webbrowser

    blah blah blah

    code?

  • oh sorry i fixed it

    Thank you though u r awesome

    Would u post a tutorial on how to make an RPG with Flash or VB?

  • thx and sry but an RPG would be too advanced.

  • ne er ist ainbischen jung denke ich.

  • It doesn't work, it says 5 errors... Of Type Expected form1.vb webbrowser :S can somebody help me with that? I will apreciate it very much

  • What code does it underline?

  • IF u have CTYPE....... then you have WebBrowser).NAvigate and it underlines WebBrowser with red.

  • put a comma(,) before webbrowser).navigate

    so make it ctype(tabcontrol1.blahblahblah­,webbrowser).navigate("Url here")

  • try renaming the form u have that coding with to "form1.vb" with no quotes.

  • At the end you said you will post a new video. When is it coming out? I'm looking forward to naming my tabs and stuff :D

  • Ive been a bit busy so Im afraid not till jan - feb 2010. I'm really sad buit I just don't have time. I barely have time to support 3 tuts I have now. =(

  • I cannot open videos

  • It is the best tabed webbrowser on youtube i have seen so far

  • with the web browser in side the tab control still can't get the web browser to go right to edges... ie these white strips around edge :(

  • just undock and redock the tabcontrol a few times. also go into the coding, delete "browse.dock = Dockstyle.fill", save the project, and type it in again. keep doing this until its fixed. (i had the same problem)

  • ahh cheers, thank you.

  • how do you get the address bar to say the website url? i've tried things like: TextBox1.Text = TabControl1.SelectedTab.GetHas­hCode, TextBox1.Text = TabControl1.SelectedTab.url, And They Don't Work!

  • thank you very much!! helped alot with all issues i was having. :D

  • Out of this I got 14 Errors!!!!

  • you are a russian kid ?

    ti devchanka ili malchik ?

  • are u the maker of Usurf

  • No I don't even know what the hell that is....

  • Dude nice idea but the screen is to blurry!

  • When I go to test this out it goes back to the editor and highlights:

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

    And it says that the error is:

    Object reference not set to an instance of an object.

    Can someone please tell me what I did wrong this looks like a really good web browser to use

  • Also could you just send me the code by pm

  • CType(TabControl1.SelectedTab.­ Controls.Item(0),

    Remove the , at the end

  • some one can tell me how to save this in .exe ? ? ?

  • Im not sure but I think that you may need to convert it not 100% sure

  • go up to the build menu in the menu script of visual basic, click publish, just keep pressing next

  • mikolaj750 when ur dun u go to build at the top then that makes it into an .exe (the program counts as an application) then find the contaning folder and you can run it/ send it / whatever

  • theres an error on TabControl1.SelectedTab(i - 1) that said property acess must be assigned

  • yes what the fuck is that picture

  • wtf is with the goddamn picture in the center

  • you have so gay logo.. Right up.. why we must see it?

  • dude i hate your tutorials becuase you dont put the codes in the desprption we have to type them in our selves and they dont work.

  • That's because it's a tutorial, not a copy and paste tutorial...

    Tutorials are made so you LEARN things!

  • dont be silly now

  • dud. your tuorial is wird. i am getting 4 errors and i did every thing u sayed -.-

  • Great tutorial, 5/5!

  • mine says "there were build errors would you like to run anyway?

    and if i hit yes it says can not find project name.exe

  • Works but with mine i get this when i click add tab.

    "Page 1" "Page 1"

    They just all say Page 1, they dont go like "page 2" and stuff. I followed tut. But its weird why this does this/

  • I have the same problem

  • I think this is because you guess didn't write

    dim i as integer = 1

    needs to go after public class form1 i believe

  • Thanks a lot!

  • Where it says TabControl1.TabPages.Add(i, "TabPage" & 1) , change that to

    TabControl1.TabPages.Add(i, "TabPage" & i + 1)

  • dude found prob. if u try make an secound tab. and that u try open the new page. it says something on ur VB that the values are wrong. 0.0

  • When I add a new tab there is no browser window and i cannot visit web pages

  • Comment removed

  • Comment removed

  • ok nice tutorial but when i save it it doesnt open it says request failed secuity exeption WTF i remade it saved it and it happened again

  • Please help it says this :

    Error1Name 'i' is not declared.

    Error2Name 'i' is not declared.

    Error3Name 'browse' is not declared

    Error4Name 'browse' is not declared

    etc.!!!!

  • you have to write:

    Dim i As Integer = 1

    and:

    Dim browse As New WebBrowser

  • Thanks for that tutorial

    I like how you made us write out that code and you explained it to us

    Thanks again 5/5 keep up the tuts!

  • GUYZ! JUST LISTEN AND PUT &fmt=18 TO THE END OF BROWSER THEN YOU CAN SEE ALL! JUST FOLLOW WHAT HE DOES! DONT SKIP PARTS OF THE VIDEO! OR IT MUCKS THE CODE! IT WORKS PERFECTLY!

  • Does not work. When I click go on a new tab it closes. I have checked over and over again so yeah.

  • y did you make a huge sigh 3/4 through the video?

  • i cant find forum_load

  • It's "The Form Name"_Load.

    Usually, it's Form1.

  • whats form UnderScore Load??

  • Form_load is called when The first form opens up. If you don't know what this is all about then this tutorial may not be for you.. =(

  • if u write in the form1_load :

    TabControl1.SelectedTab(i )

    then u must make the declaration at the first line above like that

    dim i as integer = 1

    and surly works with u hope its useful......^_^ thx

  • hi bro's "fatcat1777" & "roadkill9292"

    i was have the same problem....by the way i find the solution finally and its works with me.

    -if u write in the form1_load :

    TabControl1.SelectedTab(i - 1)

    then u must make the declaration at the first line above like that

    dim i as integer = 1

    and surly works with u

  • it gives me a error on "TabControl1.SelectedTab(i - 1)"

    plz any buddy can help

    but the main problem in that index must start from 0 as i know...any body plz can help

  • Why don't you add the code for us to type in? I tried typing in the code, then the typing buggered up, and then I tried deleting all the code, but couldn't get it back!

  • it gives me a error on "TabControl1.SelectedTab(i - 1)"

  • Sorry, nevermind I have the same problem as "fatcat1777".

  • Comment removed

  • I doesnt work for me Im using VB 2008 Express and when I try to use these functions:

    ...webTabs.SelectTab.Controls.­..

    It gives an error line under the text, what is the functions for this in vb 2008?

  • didnt work

  • for me

  • Hey nice vid mate :)

    I have some questions?

    How can i add an progress bar - or i have a picture i want to appear when i click a LINK - i have done for back/forward and go etc.

  • can someone send me the code?

  • fmt=18

  • (Download links and website is back up and running!)

    If you would like to see an example of an advanced browser or would like some help on making one, visit:

    hypersonicbrowser(dot)webs(dot­)com

  • Really? That's odd. Let me check it again, thanks for letting me know!

  • If you would like to see an example of an advanced browser or would like some more help on making one, visit ----> hypersonicbrowser(dot)webs(dot­)com

  • hey your download web browser link don't work

  • Darn, my previous file hosting site I was using is apparently down (FileQube). I have hosted the file on RapidShare temporarily, until I can find a better file hosting site.

    Thanks for taking the time for visiting my website and please try the download link again!

  • Ok, how would I go about being able to click on a link inside a page and choose to open it in a new tab?

    That I BADLY need to work out

    Thanks

  • Nuniablud, You will need context menu strip.

  • Hi nuniabludibiznis, first you must create your own custom context menu. To do that, you must

    1. Create a new context menu strip in the Toolbar.

    2. In the context menu, create a line that says "Open in new tab".

    3. Insert these two lines of codes underneath Form1_Load:  CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).IsWebBrowserContex­tMenuEnabled = False CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).ContextMenuStrip = ContextMenuStrip1

  • 4. Double click on "Open in new tab" in your custom context menu and insert in the code to make a new tab (Dim browse as new Webbrowser...etc.)

    Only trick is, at the part,

    CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).Navigate("google")

    Remove the link at "google" and insert this instead: WebBrowser1.StatusText

  • That is a very interesting..BUT..that means evry time you want to click a link, you have to open it in a new tab. and the thing is you don't always know if the link is SUPPOSED to even open a new window. So every time you want to click a link you first have to click it normaly, see if it opens a new window, and only then open in new tab if you need to. What I did was download a modified webbrowser control which calls a event with a variable "E" containing the web address when new window is open.

  • thanks so much!

  • I can barely see the damn codes why the hell dont u zoom in on them!!!!!

  • How do u open the tab page collection editor??

  • For everyone who can't see, type in &fmt=18 at the end of the URL.

  • but if i maximize the tabs are staing on the same position so (minimized )

  • ca you give the codes. its not realy working:(

  • can u right click something and open in new tab?

  • Hmmm your pretty good for my Corporation rather join?