Web Browser

This is a discussion on Web Browser within the C++ Programming forums, part of the General Programming Boards category; Im using MS Visual C++ 6, I was wondering how to make a web browser using mozilla rendering engine. Please ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    7

    Web Browser

    Im using MS Visual C++ 6, I was wondering how to make a web browser using mozilla rendering engine. Please post how or links to tutorials, thanks,
    Kwake40

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    Do you have even the littlest bit of an idea of how complicated a browser is?

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    7
    Well, Ive looked at the FireFox source, and Ive made a few with VB6

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    Well looks like you know how to find the answer to your own question then.

  5. #5
    Registered User
    Join Date
    Jan 2006
    Posts
    7
    I dont get it, VB6 is completely diff from C++

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    So what's your question?

    Are you here to learn C++ or just here to make random comments about how easy it is to plug together a few bits of lego software (aka VB6) to create simple browsers?

    If you're just starting C++, then you're at least 6 months away from making competent changes to source code of any decent browser. Most people start with "hello world" and work their way through books, excercises and tutorials before jumping headlong into some significant application.

  7. #7
    Registered User
    Join Date
    Jan 2006
    Posts
    7
    but ive been using C++ for quite awhile, but im self taught, no college or anything

  8. #8
    aoeuhtns
    Join Date
    Jul 2005
    Posts
    581
    I'm pretty sure that HTML-Kit did this once. The thing is, it was reliant on having a particular version of Mozilla installed.

  9. #9
    Registered User
    Join Date
    Sep 2005
    Posts
    196
    wut the man means is that he made a broswer using vb but now hes using c++ but c++ is alot more difficult so he needs help with it


    so NO hes not just making random comments

  10. #10
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    Sometimes, it's just like trying to strap jet engines to a 5 year old's paper aeroplane.

  11. #11
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Quote Originally Posted by Salem
    Sometimes, it's just like trying to strap jet engines to a 5 year old's paper aeroplane.
    The hardest leasons to learn are sometimes the ones you need to learn on your own.

    Quote Originally Posted by lilhawk2892
    wut the man means is that he made a broswer using vb but now hes using c++ but c++ is alot more difficult so he needs help with it


    so NO hes not just making random comments

    If he's made a browser in VB, then I'll hazard a guess that he's used an embedded IE web-browser control - which will work the same (with a little more tweaking in C++). As far a firefox goes - it depends if they allow you to reuse thier code by way of a control or a library.

    If he's adept enough to read, parse and render HTML, then he isnt going to ask a question like this in the first place

  12. #12
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  13. #13
    Registered User
    Join Date
    Jan 2006
    Posts
    7
    Quote Originally Posted by Fordy
    The hardest leasons to learn are sometimes the ones you need to learn on your own.




    If he's made a browser in VB, then I'll hazard a guess that he's used an embedded IE web-browser control - which will work the same (with a little more tweaking in C++). As far a firefox goes - it depends if they allow you to reuse thier code by way of a control or a library.

    If he's adept enough to read, parse and render HTML, then he isnt going to ask a question like this in the first place
    Just for the record, i used the Gecko Engine, which is actually the same as Mozilla,
    Thanks alphaoide, ill try it out, just posting that link has been the most helpful thing

  14. #14
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Make a web browser eh. I've just about heard everything.

    It's actually simple to decode the HTML to create a page if you know HTML, which I gather you may or may not. But as for downloading from FTPs, HTTPs, uploading, streaming, etc, etc. A web browser is not a good first C++ project and since web browsers are like butholes, everyone seems to have one yet in some way they all stink, I would venture to say it's a waste of time.

  15. #15
    Registered User
    Join Date
    Jan 2006
    Posts
    7
    In ur opinion, anyway, can anyone just post a link to a straight out tutorial to make a browser with any type of engine, I would just keep the VB6 browser, but I have some code for some cool things in a web browser, but there for c++ and i dont know how to make the general things, like back foward stop, etc

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Web browser based program
    By Lauris in forum C++ Programming
    Replies: 3
    Last Post: 11-14-2007, 04:01 PM
  2. HTTP Response from web browser
    By zort15 in forum C# Programming
    Replies: 0
    Last Post: 06-25-2007, 08:35 AM
  3. Socket web browser
    By digitaltsai in forum Networking/Device Communication
    Replies: 17
    Last Post: 10-09-2005, 08:20 AM
  4. Amaya web browser
    By dwks in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-10-2005, 08:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21