3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to Make a Webbrowser In "Visual Basic"

How to Make a Webbrowser In "Visual Basic"
First of all you need to download Microsoft Visual Basic. Any form of Visual Basic is good, but remember, some of them cost money. I use the free version Visual Basic "Express Edition" but like I said, any form will do good. http://www.microsoft.com/Express/VB/ <<If you dont already have VB, heres a link to the free version<<
 
Remove these adsRemove these ads by Signing Up
 

Step 1Starting The Project

Starting The Project
When you've finished downloading the program you must start the program,
Open VB and and open a new "Windows Forms Application" file
« Previous StepDownload PDFView All StepsNext Step »
14 comments
Jul 14, 2011. 6:46 PMTheExplodingTacoz says:
i'm new to scripting and all that stuff, but this really helped me get a jump start on basic, nice ible!
Dec 31, 2010. 8:32 AMjamesjph says:
Why does everyone use Basic? Whats wrong with C#?
Apr 12, 2011. 5:50 AMnutsandbolts_64 says:
Because Basic is basic and C sharp is too sharp for others to handle haha. Besides, you can crunch out applications faster on VB than programming with C or any of its relatives, because you still have to compile the stuff. I do admit that accessing codes in your head is much faster than having to look for a button on VB, that's why I'm trying to learn C++. While all of this was going, I'm using a web browser I crunched out 10 minutes ago hehe. Nothing's wrong with C#, it's just that if you're a newbie it's very... intimidating. It's more of a psychological battle with yourself.
Nov 13, 2010. 1:03 PMscreenguy says:
thanks really good instructable
Aug 18, 2009. 9:04 AMmovieman97 says:
will a regular button work instead? i am new to this
Nov 14, 2009. 2:43 AMVoid Schism says:
Yes, just drag buttons from the toolbox.
You can set the text on the buttons in the properties.
Nov 14, 2009. 4:03 AMmovieman97 says:
Thanks. Also, I was wondering, what is the code for a progress bar?
May 4, 2010. 9:53 PMmust invent says:
The code for the progress bar is:
Private Sub WebBrowser1_Navigating(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
        ProgressBar1.Visible = True

        With ProgressBar1
            .Minimum = 0
            .Maximum = 50
            .Step = 5
        End With
        For index As Integer = 0 To 50 Step 5
            ProgressBar1.Value = index
            System.Threading.Thread.Sleep(35)
        Next
    End Sub
May 5, 2010. 2:16 AMmovieman97 says:
Thanks!
Nov 14, 2009. 6:53 AMVoid Schism says:
A progress bar basically has a number of progress points, and you set a value depending on how much work has been done. Commonly this is done in a report progress method hooked to a background worker (yay for jargon!).
If you select the progress bar and hit F1 to bring up help there is an example of this.
I am unsure what event the browser control raises to report its progress, but essentially you want to hook a method to this event that updates the value of the progress bar.
By default the progress bar has 100 points, so the value works as a percent done measure.
Sorry I can't give code examples, I'm mainly a C# developer and try to avoid basic.
Nov 14, 2009. 2:41 AMVoid Schism says:
Another simple way would be to drop a splitter control onto the form, then drop the browser onto the bottom half of the splitter. open the properties panel and set the dock style property to fill (there should be a set of boxes, click the big one in the center).

This will mean the browser fills the window even if resized, and allows you to resize the top panel which you can use for a menu.

There are more "proper" ways, but lets keep it simple.
Apr 13, 2009. 12:13 AMac1D says:
It's cool but,
it is not really explained, you just describe how to make it and,
this is, in fact, internet explorer.

Also, it's a repost.
http://www.instructables.com/id/Make_a_web_browser_in_visual_basic/
http://www.instructables.com/id/Creating_a_Program_in_Visual_Basic_Web_Browser/
Apr 11, 2009. 2:53 PMwee_man says:
Thanks was easy to follow. Made my Web Browser. One suggestion maybe abit more customations that people can do to it and an explaination of how to works

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:Robby Bob