|
-
Nov 10th, 2002, 09:23 PM
#1
Thread Starter
Frenzied Member
WEb Browser Control or ????
How do i make a webbrowser in VC++ ??? I've been looking but havent found it. ima head over to msdn now but can someone plz help me. Im new to c++ and am trying to learn. Thanks in advance to anyone.
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Nov 11th, 2002, 05:29 AM
#2
PowerPoster
check out the htmlview library.
-
Nov 11th, 2002, 09:32 AM
#3
Four ways:
1) Write your own code. This means getting to know the winsock library very well and is in general a LOT of work. But it is the only way you really "create your own browser".
2) Embed IE in your app. A lot of COM, but far less work. MFC does the most work for you if you want to use it.
3) Embed Mozilla. More work than embedding IE, but I like Mozilla better . Embedding Mozilla is described at mozilla.org
4) Create your own derivate of Mozilla. There are several projects like this, e.g. Phoenix or Chimera. Much more work than embedding, but much less than writing from scratch.
I can't think of any other ways.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 11th, 2002, 12:17 PM
#4
Thread Starter
Frenzied Member
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Nov 11th, 2002, 07:01 PM
#5
Don't know. Maybe you find information in MSDN, look for the IWebBrowser2 interface.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 12th, 2002, 11:41 AM
#6
Monday Morning Lunatic
One question.
Why? Why bother embedding a *different* browser? You just add another layer of complexity and bloat onto something which is big enough already.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 12th, 2002, 11:54 AM
#7
What are you referring to?
IWebBrowser2 is the heart of the Web Browser Control. Embedding means that you have an instance of the browser running inside your app (whichever you choose, the mechanism is the same).
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 12th, 2002, 01:01 PM
#8
Monday Morning Lunatic
I think I know what I mean 
Last time I tried to use IE either embedded or otherwise wrapped in another program, it was slower than just running IE on its own.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 12th, 2002, 01:03 PM
#9
Frenzied Member
Some arse deleted IE off my assigned computer one time, so I had to write a freakin web browser in Word o.O
Z.
-
Nov 12th, 2002, 01:06 PM
#10
Monday Morning Lunatic
In what way? With the IE control, or did you go the macho way and interpret the HTML into a formatted Word document? (If you did, you're an official stud )
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 12th, 2002, 02:24 PM
#11
Frenzied Member
Originally posted by parksie
In what way? With the IE control, or did you go the macho way and interpret the HTML into a formatted Word document? (If you did, you're an official stud )
You are kidding right? I wanted to browse the web, you nut! 
Z.
-
Nov 12th, 2002, 03:09 PM
#12
Monday Morning Lunatic
Well, I dunno. If you didn't have IE, then what else are you going to do if there's no page layout/rendering software available?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 12th, 2002, 09:52 PM
#13
Frenzied Member
They only deleted IE itself, not the control, so I could use that 
Z.
-
Nov 13th, 2002, 05:43 AM
#14
Monday Morning Lunatic
I thought you mean IE itself, which *is* the control. iexplore.exe is just a wrapper round it.
But aaaaaaanyway. Upshot, MS still suck.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 13th, 2002, 06:10 AM
#15
You know EditPlus? Nice little code editor, extensible and very cool. Comparable to UltraEdit.
EditPlus is an MFC app originally created for editing HTML, and so the author decided to embed IE. Just hit Ctrl+B when you have an open HTML file and it will launch IE inside the editor (as another document) and browse to the page.
Really nice.
Yes MS sucks, but embedded browsers are nice to have.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 13th, 2002, 06:18 AM
#16
Monday Morning Lunatic
Embedding a page renderer is ok, but when you can't extract that from the rest of the browser framework it slows it down a lot. I can see it being useful, though.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 13th, 2002, 07:24 AM
#17
You can turn it around. Write an application based on the Mozilla framework, ith XUL, CSS and JavaScript.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 13th, 2002, 07:57 AM
#18
Monday Morning Lunatic
Yeah. Like Phoenix, Galeon, etc.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 13th, 2002, 09:56 AM
#19
I mean like chatzilla, mozilla mail...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|