Results 1 to 4 of 4
  1. #1
    codyray90's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed

    Smile {TUT} Advanced WEBBROWSER

    Ok well i just joined this forum and i am a mod on EVERY forum that im on for the VB section atm so il try to acchive that goal here to ok first tut were going to learn is a Advanced WebBrowser ok you can add me on aim its
    ***********199
    or msn its
    gcody25@hotmail.com

    Ok well anyway this is in VB 2005/2008

    Ok so first get your interface set up it should basicley have these things

    Search,back,forward,home,refresh,Add tab,Delete Tab,Tab Control,shrtscuts (linklabels) and a shortcut manager Ok well when you got all that and you made it look nice now its time for the code
    Ok so now double click on your Add Tab Button and type this

    Dim w/e you want il just say browse
    Dim browse As New WebBrowser
    Dim i As Integer = 1
    TabControl1.Tabpages.Add(i, "Page " & i)
    TabControl1.SelectTab(i - 1)
    browse.Name = "Name Here"
    browse.Dock = Dockstyle.Fill
    TabControl1.SelectedTab.Controls.Add(browse)
    i = i + 1


    So when you have that just copy/paste it in form load ok so you have it on add tab and form load now ill tell you what it meens
    Dim browse As New WebBrowser meen that your declaring "browse" as the new webBrowser
    Dim i as integer = 1 meens your declaring i as a integer and it equals 1
    TabControl1.Tabpages.Add(i, "page " & i) meens that your going to the tabpages of tabcontrol and adding one every time you hit it
    and the rest are pretty self explainatory now your time for your delete tab

    Double click on it and type

    TabControl1.Tabpages.RemoveAT(TabControl1.Selected Index)
    TabControl1.SelectTab(TabControl1.TabPages.Count - 1)
    i = i - 1

    And thats pretty explainatory ok well thats it for writeing lol

    Il make the 2nd half of the tut in about 30 mins
    Last edited by codyray90; 12-17-2008 at 06:42 AM. Reason: Made a mistake

  2. #2
    avidmovies's Avatar
    Join Date
    Dec 2008
    Gender
    female
    Posts
    1
    Reputation
    10
    Thanks
    0
    good tut! although it is really for beginners...

  3. #3
    NatureSkillz's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    In This Thread
    Posts
    652
    Reputation
    17
    Thanks
    222
    My Mood
    Yeehaw
    Ty, maybe u could use more spaces cuz its hard to read
    Great Sig From TryMe, And Resized by bugmenot

    Click here to feed me a Nude Girl!!
    How To Create A MapleStory Private Server, Odin Based, And
    Fully Updated Aswel!:

    Click Here For A New MapleStory TUT V55

    Ever wanted to Spam/Troll/Flame without getting banned?<Free for Everyone!?!?>


    People I Respect;
    *- Natureskillz
    Contact me if you want to be on the Respect list, You must do something good against me, or have a good reason >.>

    +1 Post Count!

  4. #4
    jvwarrior's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    4
    I dont get it, it always gives me an error on TabControl1? Says its undeclared

Similar Threads

  1. [Visual Basics Tutorial] How to make an advanced webbrowser
    By L3G0 in forum Programming Tutorials
    Replies: 26
    Last Post: 11-05-2012, 11:18 AM
  2. [Release] FallenDark's Advanced WebBrowser
    By FallenDark in forum Visual Basic Programming
    Replies: 22
    Last Post: 04-27-2011, 04:35 AM
  3. [TUT]How to make a webbrowser
    By frono15 in forum Programming Tutorials
    Replies: 5
    Last Post: 07-02-2008, 01:53 AM
  4. Advanced Full Sig Tut
    By -[standoff]- in forum Tutorials
    Replies: 17
    Last Post: 09-22-2007, 02:46 PM
  5. [tut] new tut for starting hackers... again, making advanced hacks i guess
    By blackdrag0 in forum WarRock - International Hacks
    Replies: 21
    Last Post: 06-27-2007, 06:28 PM

Tags for this Thread