1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Tutorial] making a web browser in VB :o

Discussion in 'Code Snippets and Tutorials' started by Pankirk, Nov 14, 2006.

  1. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    Tutorial- Making a web browser!

    Materials you will need:
    1. Visual Basic
    2. A brain
    And thats basically all you need.

    Steps:
    1. Open up VB and click "Standard EXE"
    (it looks like this)
    [​IMG]
    2. Now you will have your project open, you can resize it by clicking it, then draging the corners.
    3. Now go to Project> Components. (or CTRL+T) and a screen will show up like this.
    [​IMG]
    4. Click Microsoft Internet controls (shown above), then click Apply, and then OK.
    5. Now at the very bottom of the tool bar, there should be a new icon of a world. click it and drag it on your project, the bigger you drag it, the bigger your page will be displayed.
    6. Once you have that, nake a command button, then double click it, once its double clicked a code will appear looking like this
    7. now take this code and put it right in the middle of those two lines.
    Your code should now look like this:
    You can put whatever you want in the quotes, so if you wanted to visit the healing springs just replace whats in the quotes with the url you want to visit.
    8. Now go to file> Make Project1.exe, then save it to your desktop, then double click on it.
    9. if you did it right then it should open and work for you, you can also add more buttons and change colors of your program and make it pretty :)

    also if you named your web web browser something other than Webbrowser1 then you would need to replace it in the code, for example if you named your web browser Browser instead of the defauls Webbrowser1, you would need to edit the code to look like this
    instead of this
    P.S sorry for the lac of pictures, my computer went all whack when uploading them, so i hope your not a visual learner. :(
     
  2. lopsk8er

    lopsk8er Level III

    Joined:
    Nov 12, 2006
    Messages:
    493
    Likes Received:
    4
    Location:
    In my pocket.
    i like it very much.. but i think i dled a wrong version of vb lol.. can u give a link to where you got urs?

    +rep btw =)
     
  3. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    Ill pm you the link.
     
  4. lopsk8er

    lopsk8er Level III

    Joined:
    Nov 12, 2006
    Messages:
    493
    Likes Received:
    4
    Location:
    In my pocket.
    thank you very much =) now i can actually start learning it..
     
  5. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    ;) No problem.
     
  6. test123

    test123 Level IV

    Joined:
    Nov 3, 2006
    Messages:
    935
    Likes Received:
    0
    Location:
    Australia
    hey

    hey can you inform me of where to get vb6? i only have vb.net
     
  7. Angel

    Angel Level III

    Joined:
    Nov 2, 2006
    Messages:
    441
    Likes Received:
    5
    Location:
    Indiana
  8. thatguy

    thatguy Newbie

    Joined:
    Nov 24, 2006
    Messages:
    9
    Likes Received:
    0
    thankyou, very helpful. im downloading vb now XD
     
  9. Osiris

    Osiris Level I

    Joined:
    Nov 28, 2006
    Messages:
    107
    Likes Received:
    0
    very useful information. thank you for posting it.
     
  10. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    No problem ;)
     
  11. chelsea1

    chelsea1 Level IV

    Joined:
    Nov 26, 2006
    Messages:
    2,538
    Likes Received:
    31
    Location:
    London
    sorry but what are the advantages of making a web browser yourself
     
  12. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    Ull lots of things. You can add your own links (so you dont have to click a million links just to get to one), you can edit the html of a page, plus you get a feeling od pride once you make stuff yourself XD. If you want to see an example download my web browser. It has gormball exploit, and many links to go to.
     
  13. ericchan88864

    ericchan88864 Level I

    Joined:
    Dec 8, 2006
    Messages:
    55
    Likes Received:
    0
    Location:
    Hong Kong
    THANKyou for yr tutorial video
     
  14. Pankirk

    Pankirk Level III

    Joined:
    Nov 12, 2006
    Messages:
    652
    Likes Received:
    28
    Location:
    America
    Yeah...