Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack (5) Thread Tools Display Modes
Old 28-02-2008, 10:14 AM   5 links from elsewhere to this Post. Click to view. #1 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 32
Arrow Make Your Own Web Browser In Visual Basic


Do you want to like make my own web browser Fast & easy to use, Here are the Tutorial about Make Your Own Web Browser. This will make in Visual Basic.

Step 1.

Open Visual Basic, and Press CTRL+T or go to the Project Menu -> Components. When the Components dialog pops-up scroll down to the Microsoft Internet Controls in the Controls section, select it and press OK.



If you did the step above correctly, you should see a new icon on your Toolbox:



Step 2

In this step, you would need to add the following controls to the form:
4 command buttons and name them: cmdBack, cmdForward, cmdStop & cmdHome

1 label control and name it: lbCaption
1 combobox control and name it: cboURL
The webbrowser control you've just added, and name it: wWeb


Your form will now look something like this:



You've just finished the basic interface for your web browser application. Remember, you can always go beyond this by using the Toolbar control to make it look nicer!

Step 3

Now that you've finished the user interface for your web browser, comes the hard part, you have to write codes for your browser to function properly.
Open the code for your web browser form and follow the following steps.
In the cmdBack_Click() event, put in this code:
wweb.GoBack
the GoBack method makes the web browser control to go back to the previous page.

In the cmdForward_Click() event, put in this code:

wWeb.GoForward
The GoForward method makes the web browser control to go forward to another page.

In the cmdStop_Click() event, put in this code:

wWeb.Stop
The Stop method makes the web browser control stop whatever it's doing.

In the cmdHome_Click() event, put in this code:

wWeb.GoHome
The Home method makes your web browser control navigate back to the webpage that you set as home in the Internet Explorer Option.


In the cboURL_KeyDown() event, put in this code
If KeyCode = vbKeyReturn Then
wWeb.Navigate cboURL.Text
End If

That code will make the web browser control navigate to the URL you that you specified in the cboURL whenever you press the return key while typing in the combo box.



Step 4

Congratulations!

You've now created your very own web browser. Tune in for the next edition of the Web Browser control tutorial for information on how to add a progress bar, status text, and advanced controlling of the web browser control.

If you would like to try download a ready version of this tutorial please click here.



Reply Please!




Masroor is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-02-2008, 10:59 AM   #2 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Make Your Own Web Browser In Visual Basic

nice, but give the source pal

http://www.acky.net/tutorials/vb/wbrowser/
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 28-02-2008, 11:51 AM   #3 (permalink)
New
Alpha Geek
 
New's Avatar
 
Join Date: Jun 2007
Location: Bangalore
Posts: 785
Default Re: Make Your Own Web Browser In Visual Basic

Nice tutorial though I haven't read it.
__________________
++
New is offline  
Old 28-02-2008, 12:32 PM   #4 (permalink)
Elevating Humanity
 
The Conqueror's Avatar
 
Join Date: Sep 2007
Location: Now on Earth
Posts: 1,957
Default Re: Make Your Own Web Browser In Visual Basic

Nice tut
__________________
Regards,
The Conqueror
The Conqueror is offline  
Old 28-02-2008, 04:19 PM   #5 (permalink)
In The Zone
 
evewin89's Avatar
 
Join Date: Sep 2007
Posts: 360
Default Re: Make Your Own Web Browser In Visual Basic

definately i'll try... Hop the browser will works
__________________
Evil Lives 4ever......
evewin89 is offline  
Old 28-02-2008, 04:38 PM   #6 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Make Your Own Web Browser In Visual Basic

this is not your own web browser. you are just using the IE engine using built in tools. This can be useful mainly for making simple all in one programs, for example by intergrating a WMP engine based media player widget, a Calendar, a simple text editor widget and a customised Internet Explorer engine based widget, you can make a single program that does all that most people look for in an internet parlour.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 28-02-2008, 08:15 PM   #7 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Default Re: Make Your Own Web Browser In Visual Basic

^^+1
U said it...
This dosent make a new web-browser, but you are only integrating IE's web engine into your app.
This is used if you need an integrated browser in your application for any purpose...
redhat is offline  
Old 28-02-2008, 08:29 PM   #8 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Make Your Own Web Browser In Visual Basic

its "Create a BASIC web browser from Visual Basic"

and what gautham said is true.
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 28-02-2008, 08:50 PM   #9 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Make Your Own Web Browser In Visual Basic

and one more thing: I would rather make this one from Visual C++ instead of Visual BASIC any day.
I have just got another idea: try to add a media player widget on a toolbar just beside or just below the buttons for navigation. Make the video window movable but always on top of the internet window. If nessassary, you can even make the toolbar(s) such that one half is the video window and the other half is full of all the controls. This way, you have your very own Songbird like program.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 29-02-2008, 05:46 AM   #10 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: Make Your Own Web Browser In Visual Basic

Very Interesting for me though I am not programmer
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 29-02-2008, 02:35 PM   #11 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Make Your Own Web Browser In Visual Basic

did anyone succeed in creating Songbird Mini ? Its pretty simple. Just combine this tut with the one I will post if nobody is able to make Songbird mini in a few days.

PS: this is an open challenge to entertain our viewers
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi

Last edited by MetalheadGautham; 29-02-2008 at 02:52 PM. Reason: gigacore's advice
MetalheadGautham is offline  
Old 29-02-2008, 02:37 PM   #12 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Make Your Own Web Browser In Visual Basic

Advice: Don't point out a particular member.
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 29-02-2008, 02:52 PM   #13 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Make Your Own Web Browser In Visual Basic

Quote:
Originally Posted by Gigacore View Post
Advice: Don't point out a particular member.
OK, edited. but this is not any member. its saurav, our friendly neighbourhood .net developer who writes ABOUT .net more than he writes ON .net.

so decided to ask him something.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 29-02-2008, 02:55 PM   #14 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: Make Your Own Web Browser In Visual Basic

Quote:
Originally Posted by MetalheadGautham View Post
OK, edited. but this is not any member. its saurav, our friendly neighbourhood .net developer who writes ABOUT .net more than he writes ON .net.
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 29-02-2008, 04:30 PM   #15 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,052
Default Re: Make Your Own Web Browser In Visual Basic

nice 1 ......
__________________
... W H O T ...
ax3 is offline  
Old 29-02-2008, 04:40 PM   #16 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Make Your Own Web Browser In Visual Basic

Quote:
Originally Posted by New View Post
Nice tutorial though I haven't read it.
lol

Nice tutorial..!!!

@Masroor

Include source from next time.
 
Old 29-02-2008, 04:48 PM   #17 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Make Your Own Web Browser In Visual Basic

^ wow.. good vaibhav. u have learnt a lot after joining the forum. Before u didnt used to include the source, and now u are teaching others to include source. Good!
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 29-02-2008, 04:54 PM   #18 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Make Your Own Web Browser In Visual Basic

I have said somewhere in this forum that i m learning from my mistake, i will not spam the forum anymore etc etc.
I must follow the rules if I want to be respected by other members..

One line of Gaganeed has influenced me a lot that:-

Quality is better than Quantity

by reading this i become a good user of this forum..!!!
 
Old 29-02-2008, 09:48 PM   #19 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: Make Your Own Web Browser In Visual Basic

This trick is included in the MSDN documentation of VB...

Quote:
Originally Posted by MetalheadGautham View Post
this is not your own web browser. you are just using the IE engine using built in tools. This can be useful mainly for making simple all in one programs, for example by intergrating a WMP engine based media player widget, a Calendar, a simple text editor widget and a customised Internet Explorer engine based widget, you can make a single program that does all that most people look for in an internet parlour.
^^rightly said
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks

Last edited by adi007; 29-02-2008 at 09:48 PM. Reason: Automerged Doublepost
adi007 is offline  
Old 01-03-2008, 02:03 AM   #20 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Make Your Own Web Browser In Visual Basic

Quote:
Originally Posted by vaibhavtek View Post
I have said somewhere in this forum that i m learning from my mistake, i will not spam the forum anymore etc etc.
I must follow the rules if I want to be respected by other members..

One line of Gaganeed has influenced me a lot that:-

Quality is better than Quantity

by reading this i become a good user of this forum..!!!
Dude, type my name correctly......
The statment was: "Quantity never beats Quality"
Anyways, its good that you've become contributing.....

@tutorial
A similar tutorial is in a VB6 book in our school library.... And I guess most VB books have this tutorial..... Thanx anyhow...
One thing I wanted to know is that can this be done in VB2008 Express?
__________________
.

Last edited by ico; 01-03-2008 at 02:09 AM.
ico is offline  
Old 01-03-2008, 03:23 AM   #21 (permalink)
Human Spambot
 
shantanu's Avatar
 
Join Date: Dec 2006
Posts: 2,798
Default Re: Make Your Own Web Browser In Visual Basic

you know what ! this was the first thing i ever made in VB , coz this was given in the VB 2005 tutorial, the very first program, its nothing more than using IE6 ... so dont think that a four line program is a tut, it would have been a tut if you would have shown some graphical change and acompletely new outlook !

thread closed as its unnecessary...

everyone can open VB2005 and see its help for this program, its the first one offered in the help itself...

thank you

Gangandeep: yeah it can be done ... its just like initializing IE6 or IE7 command tools into VB app.

Last edited by shantanu; 01-03-2008 at 03:23 AM. Reason: Automerged Doublepost
shantanu is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/tutorials/81287-make-your-own-web-browser-visual-basic.html
Posted By For Type Date
OnlyMinds | Page 11 This thread Refback 15-01-2012 06:42 AM
OnlyMinds » Blog Archive » Leni’s Browser 1.0 (:-P) This thread Refback 21-12-2011 10:34 PM
CSUI05 visual basic 6.0 This thread Refback 01-12-2010 07:15 AM
1000 ???? ?????? ????? - ???? 3 - MajidOnline Forums This thread Refback 24-08-2010 05:45 PM
CSUI05 membuat web browser This thread Refback 18-06-2010 06:55 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic help! romeo_8693 QnA (read only) 18 17-02-2007 07:55 PM
Visual Basic....! vineetrocks2005 QnA (read only) 2 20-06-2006 11:25 PM
I Need a visual Basic Geek chirayu garg QnA (read only) 19 05-06-2006 10:54 PM
Visual Basic 6.0 godsownman QnA (read only) 5 18-04-2005 06:27 AM

 
Latest Threads
- by chris
- by icebags
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 01:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2