Domain Discussion Board

Go Back   Domain Discussion Board > General > Tutorials

 
Reply
 
LinkBack Thread Tools Display Modes
[VB] How to create your own web browser
Old
  (#1 (permalink))
Zero Cool
Banned
Zero Cool is infamous around these partsZero Cool is infamous around these parts
 
Status: Offline
Posts: 0
Points: 254.8
Bank: 0.0
Total Points: 254.8
Donate
Join Date: Feb 2007
Rep Power: 0
[VB] How to create your own web browser - 02-20-2007, 03:26 PM

Attention ! you need the component Microsoft Internet Controls from Project -> Components or CTRL + T :

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://evilab.xcro.info
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
   
Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#2 (permalink))
Comatose
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: [VB] How to create your own web browser - 02-20-2007, 06:39 PM

Hmmm, interesting idea. Might, make an interesting time-killer.
   
Reply With Quote
Sponsored Links
Re: [VB] How to create your own web browser
Old
  (#3 (permalink))
sidewaysbox
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: [VB] How to create your own web browser - 02-20-2007, 06:44 PM

Cool tutorial, props.
   
Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#4 (permalink))
whoamifooling
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: [VB] How to create your own web browser - 02-20-2007, 09:02 PM

Sounds interesting. I will have to try it, when I have some extra time.

Thanks so much for this thread. You rock my world :P
   
Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#5 (permalink))
weblord
weblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond repute
 
weblord's Avatar
 
Status: Offline
Posts: 16,670
Points: 3,081.5
Bank: 1,851,990.5
Total Points: 1,855,072.0
Donate
Join Date: Mar 2006
Location: Philippines
Rep Power: 10
Re: [VB] How to create your own web browser - 02-20-2007, 09:26 PM

for those in a hurry just use an application to create browser
http://www.browserbob.com/
the free ones has ads but will do the trick
   








Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#6 (permalink))
retax
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: [VB] How to create your own web browser - 02-20-2007, 09:27 PM

Interesent, looks very nice !!
   
Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#7 (permalink))
sarbaraj101
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: [VB] How to create your own web browser - 02-21-2007, 04:47 AM

Cool. I tried creating a browser. It worked and I'm using it.
   
Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#8 (permalink))
windrider
windrider will become famous soon enough
 
windrider's Avatar
 
Status: Offline
Posts: 1,269
Points: 607.7
Bank: 7,727.0
Total Points: 8,334.7
Donate
Join Date: Jun 2006
Location: Chennai, India
Rep Power: 4
Re: [VB] How to create your own web browser - 02-21-2007, 05:55 AM

I was actually looking for this particular tutorial. Thanks for posting it.

Your link is also very interesting, weblord.
   
Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#9 (permalink))
simsy
Banned
simsy is infamous around these partssimsy is infamous around these partssimsy is infamous around these partssimsy is infamous around these partssimsy is infamous around these partssimsy is infamous around these partssimsy is infamous around these partssimsy is infamous around these parts
 
Status: Offline
Posts: 0
Points: 0.0
Bank: 0.0
Total Points: 0
Donate
Join Date: Feb 2007
Rep Power: 0
Re: [VB] How to create your own web browser - 02-21-2007, 08:15 AM

Great! I tried it yesterday! Thanks for the info!
   
Reply With Quote
Re: [VB] How to create your own web browser
Old
  (#10 (permalink))
Ki1L3r
Banned
Ki1L3r is on a distinguished road
 
Status: Offline
Posts: 20
Points: 7.1
Bank: 0.0
Total Points: 7.1
Donate
Join Date: Feb 2007
Rep Power: 0
Re: [VB] How to create your own web browser - 02-21-2007, 08:43 AM

Cool... nice... thx for info
   
Reply With Quote
Reply


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

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

Points Per Thread View: 1.0
Points Per Thread: 15.0
Points Per Reply: 5.0


Similar Threads
Thread Thread Starter Forum Replies Last Post
FREE CGI Hosting blue-sky Wonderful Websites 21 04-27-2008 07:12 AM
Free php web hosting...Part 1 blue-sky Hosting Providers 24 12-22-2007 02:28 AM
free webhosting without ads 2007 list ,build now your website for free belinea Member Advertising 11 03-29-2007 11:04 AM
How to change browser title Gangsta Tutorials 1 02-03-2007 02:03 PM


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 ©2007, Crawlability, Inc.