How to Create a Web Browser in C# Visual Studio

by SafeerAhmedAbro in Circuits > Software

147911 Views, 29 Favorites, 0 Comments

How to Create a Web Browser in C# Visual Studio

web.png

Hi, In this tutorial i will show you "How to create a Web Browser in C# Visual Studio"

Here i am using visual studio 2010 and windows 8 pro 64-bit.

The source code is available for download.

Downloads

Open VS and Create a New Project

ne.jpg

Select Windows Forms Application and Then Name Your Application

my.jpg

Now Add Some Tools in Your Form

pro.jpg

Now you have to insert 6 buttons from the tool box and 1 web browser control and 1 text box !

and you should re-size your form from smaller to bigger ! so the web browser shows web pages nicely !

Now Change the Text

action.jpg

now change the text of your buttons !

like if you want your button to work as a back button then name it BACK !

and so do it for all !

How to Add Codes

frst.jpg

Codes for Home / Refresh / Stop Buttons

cococo.jpg

Codes for Back / Forward Buttons

ggogogoogogogo.jpg

Codes for GO / Search Button

go.jpg

Your App Is Done

complete.jpg

Test Your App

tada.jpg

Extra

if you are better at c# programming ! then you will easily understand this tutorial but if you are a beginner then you should download this video tutorial.