FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Making your own web browser

 


lustre
An example of how to create your own simple web browsers with ease. This guide will start you off and hopefully you can try new things, add your own skin & more.

Making a web browser is so simple. It consists of only a few lines of code they are so easy to make use. Let’s start off with starting a new Visual Basic project, a standard exe.

Add the following controls onto your form:
. 5 command buttons
. 1 web browser
. a text box

Now what’s left to do is put all the code into the commands, as you can see the text box is going to be where you put all of the website urls you want to visit, you could also use a combo box for this which is fine. The command buttons will do different things; the go button is used to go to the website you enter.

As you can see we have got a back button, a forward button, a refresh button a stop button, these are all the basic commands, you can add more as you get more comfortable with the commands.We can now add the code into the commands then you can take it further is you would like.Let’s start off with the Form Load part, firstly we can set our default page for the browser when it loads up.

Rename your web browser to anything simple, I have renamed it to ‘wb’ because it’s short and saves me writing out ‘webbroswer1.’ All of the time.

Private Sub Form_Load()
wb.Navigate \"http://www.softladinc.co.uk\"
End Sub

The code above will load our website into the web browser as soon as the application loads up.
Now put the following code in the buttons required:

Refresh Button
Private Sub Command5_Click()
wb.Refresh
End Sub

Stop Button
Private Sub Command3_Click()
wb.Stop
End Sub

Back Button
Private Sub Command1_Click()
wb.GoBack
End Sub

Forward Button
Private Sub Command2_Click()
wb.GoForward
End Sub

Go Button
Private Sub Command6_Click()
wb.Navigate Text1.Text
End Sub

Now that’s all the code I have shown examples for, if you want to add to your browser then go ahead, if you need more help on how to enhance it further then get in contact with us or visit our website. Hope this tutorial helped you with the basics of making a web browser.
shankar
Hi lustre...
there is also a software which can do this.Please visit Browserbob.com.But it is a shareware.
It claims that:

Make custom web browsers and more...
That's the core functionality where BrowserBob got it's name from: Drag & Drop authoring of fully customized browsers. Any part is in your design, standard functionality you choose from menus or custom functions you program.

Don't waste your time programming custom browsers or browser functions in Visual Basic or the like - it has been done for you already and is at your fingertips just here! Save 90% time and cost to market for browser app's.

Whether you are looking for cool design or custom functions, it's done with BrowserBob!

Use the tool of the movie industry to create custom branded browsers with ease! Custom browsers you find all over the internet have most likely been created with BrowserBob.

Some benefits of developing internet browsers with BrowserBob
Drag & Drop standard functionality is available to choose from. It's as easy as dragging a button to it's position, choosing its function and assigning your own graphics - done!


Programmable if needed: add your own functionality via scripting languages such as JavaScript or Visual Basic script. BrowserBob is an open environment.


Use your own graphics of various types for any visible part of the program
(4state buttons, interface, ...). Your browser & it's controls can be of any
shape or design - no limits!


Various different output formats to finish your application. Standalone Executable, Branded user setup wizard, raw files, activeX control for weblaunch, screensaver formats...


As standard operating system components are addressed, output files are extremely small. Ease of distribution guaranteed & your browsers will run on any Windows system.


Integrate any files or media as additional files shipped with your standalone program. Combine online- with offline- content.


Control your browser from the web, using BrowserBob's script extension, which adds functionality to scripting languages integrating the DOM (document object model).
Related topics

MAKE YOUR OWN WEB BROWSER
Making own business?
Flock :: A New Web Browser
Starting your own web server tutorial
Screens from Web Browser Based Games(8Frih$)

Opera (the web browser) is now FREE!!!
what is the best web browser?
WHAT THE BEST WEB BROWSER?
My best web browser
Blog websites

Maxthon - powerful web browser
I'm Making a web based game and need your help!
"Personal" Web Browser - Poll yours best !!!
Bulk file upload form a web browser?
Who is making the Web standards?
Reply to topic    Frihost Forum Index -> Miscellaneous -> Tutorials

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.