Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Visual Basic 2008/2010: How to make a very BASIC Web Browser

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,723
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 14, 2011

READ THE DESCRIPTION FOR CODES AND PROJECT FILES
--------------------------------------------------------------------------------­-------
Instructions: How to make a BASIC Web Browser
1. Launch Visual Basic 2008 or Visual Basic 2010
2. Make a new project and name your browser whatever you want
3. Create 6 buttons, 2 Textboxes and a Web Browser
4. Name the buttons, textbox and the form respectively.
5. Put the codes in which was demonstrated on the vid and also available for "copy & pasting" on the Codes section below.
6. Make sure to set the anchors so your browser can adjust automatically when the form is re sized.
7. Debug the application and test it out.
--------------------------------------------------------------------------------­-------
Instructions: How to get the .exe file.
1. Save your project
2. Go to Documents/Visual Basic 2008 (or 2010)/Projects/(Your Browser's name)/(Your Browser's name)/bin/debug and grab the .exe file there
3. Put it in your desktop OR send it to friends
*Note* Your friend must have .NET Framework 3.5 or 4.0 installed.
--------------------------------------------------------------------------------­-------
Codes:
Back Button
Webbrowser1.GoBack()

Forward Button
Webbrowser1.GoForward()

Stop
Webbrowser1.Stop()

Refresh
Webbrowser1.Refresh()

Go
Webbrowser1.Navigate(textbox1.text)

Search
Webbrowser1.Navigate("URL of Search Engine" + Textbox2.text)

Replace "URL of Search Engine" with the following links.
Google: http://www.google.com/#hl=en&sugexp=ldymls&xhr=t&q=
Yahoo!: http://search.yahoo.com/search;_ylt=AudKNPsllbwd3xA5AJD1PnObvZx4?fp_ip=ca&p=
Bing: http://www.bing.com/search?q=

Codes are also available at Paste Bin here: http://pastebin.com/nF4hUcj3
--------------------------------------------------------------------------------­-------
Project Files: http://www.2shared.com/file/PTvSzbjw/WebBrowser_SAMPLE.html
Alternative Link:http://ubuntuone.com/p/y0H/

Visual Basic 2010 Download: http://game-roms.webs.com/apps/blog
/show/4385444-microsoft-visual-basic-2010-express-edition
--------------------------------------------------------------------------------­------
Q&A
Q: What recording software did you use?
A: Camtasia Studio 7.1.0
Q: What version of Visual Basic were you using?
A: Microsoft Visual Basic 2010
Q: What Song?
A: 1. 5OUL over D!SPLAY by Jonathan Underdown 2. Moon over the Castle by Masahiro Andoh
--------------------------------------------------------------------------------­------
Q&A Will be updated when common questions are asked

User Feedback is greatly appreciated.

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (oblivimix95)

  • How to make it go when i press enter

  • @goliprop Private Sub Button1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventA­­rgs) Handles Button1.KeyDown  If e.KeyData = Keys.Enter Then Button1.PerformClick() e.SuppressKeyPress = True End If End Sub

    Button1 is the Go Key in this example. Also take note that YouTube's comment system might mess up the code's arrangement. If thats the case, you gotta figure out the rest by yourself.

  • how do you make enter a hotkey for the "go" and "search" button ?

  • @Drakokaleb also take note because YouTube's comment system might messed the arrangement of the code, you might have to figure out the rest by yourself if thats the case.

  • i can only type in the search google bing and yahoo :\

  • @LtcdanProduction umm... I dont understand what you mean. Care to re-clarify? thanks.

see all

All Comments (29)

Sign In or Sign Up now to post a comment!
  • what means anchor?

  • @oblivimix95 thanx alot

  • @oblivimix95 yea my internet is slow, i agree with you

  • @oblivimix95 in the search bar for ht tp i couldn't for some reason type say youtube.com for some reason but never mind i fixed it

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more