[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

I wanna make my own internet browser...

Hello...

How can i make my own internet browser ?
0
KingSencat
Asked:
KingSencat
  • 8
  • 3
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Program it.

I would suggest you download the firefox source code and examine that.
http://developer.mozilla.org/

Otherwise, you can use the appropriate controls in VB, but then you're essentially building in IE to your application.

Are you wanting to build one COMPLETELY FROM SCRATCH?
0
 
List244Commented:
To simply add a browser to your program, you can use Control +T, scroll down to Microsoft internet controls, then
check it and press apply.

If control + T does not work, you can go to the project menu, and click components and follow the instructions above.
0
 
List244Commented:
If you want to actually build your own however, you would add something like Microsoft Winsock Control 6.0
or Microsoft Internet Transfer Control 6.0 and those can be used to gather HTML code.  Then you can
process the code and build the page.  Chances are though, the above method is good enough and going
to help you with what you need.

http://msdn.microsoft.com/workshop/browser/WebBrowser/WebBrowser.asp -- Microsoft Internet Controls

http://www.winsockvb.com/ -- Microsoft Winsock Control 6.0

http://www.codeproject.com/useritems/http.asp -- Microsoft Internet Transfer Control 6.0
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
KingSencatAuthor Commented:
Somebody have a completelety source of example internet browser?
0
 
List244Commented:
King, if we gave you complete source code you would not really be writing your own browser.  As Leew pointed out there is complete
source code at FireFox's site, and if you follow my first link, if that is the method you wish to go, it is very simple.  You place the web browser
control, then use it as needed.  For example if you want to go to www.google.com you would put a button like this:

Private Sub Command1_Click()
WebBrowser1.Navigate "www.google.com"
End Sub
0
 
List244Commented:
Other functions such as that are also shown and explained in my first link.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
The complete source for firefox can be downloaded from my previous link - it's not visual basic - no major (or minor, that I know of) web browser is written in VB.  Usually, it would be c++
0
 
List244Commented:
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=12670&lngWId=1  -- An example of a VB web browser using the
Microsoft Internet Controls component.
0
 
List244Commented:
However, as Leew has mentioned, there are no true web browsers created in VB.  They all use Internet Explorer as a base.  At least from
what he/she and I have seen.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Internet Explorer is closed source - Microsoft does NOT share the source code except with licensed partners and even then, they probably don't share the FULL source code.
0
 
List244Commented:
Of course not, it is Microsoft, but even if they did, that wouldn't help, it wouldn't be VB.
0
 
List244Commented:
KingSenCat, why the C?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 8
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now