How would you do this....

Started by
6 comments, last by demonrealms 20 years, 6 months ago
Hey, I was wondering if anyone had an idea how you''d put a web browser in your program. I want it so in my I.M./Email system will also have a built-in feature to make your own webpages. But I want it to display the page in the program. Is this possible? Can you get into trouble for charging so much a month for a product with a web browser in it? These are the questions I''ve been questioning for sometime. Any idea''s and I''m open, Thanks in advance, demonrealms - [sonfig.status->TRUE];
Advertisement
You can embedd IE as an ActiveX control IIRC.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Yes, your IDE, if it is Rapid Application Development oriented, should have tools that will allow you to snap stuff like that into your application. Visual Studio I know does this, you could pretty much make a web browser without having to type that many lines for it. And you can set the address for local files as well,so if you have a preview function, you can just set the default address as the page they are working on, or something like that. I hope this information helps.
I thought about that but won''t u get sued by microsoft for using thier brower and putting in your software and then making money off of the program?
Another problem. I noticed when ever I add an activeX control to my Dialog boxes they suddlenly return NULL. I have no idea why this happens but it does.
quote:Original post by demonrealms
I thought about that but won''t u get sued by microsoft for using thier brower and putting in your software and then making money off of the program?


No.
CoV
Search for a post awhile back about this.

I ended up using Spirit to write an HTML parser and then I can use that to convert it into a RichEdit control. I just needed very basic text mark up, not page "layout" in HTML.

I am inherently wary about embedding IE into an application. There doesn't seem to be a way to sandbox the control by disabling all active scripting and whatnot. Far too many viruses have spread through Outlook's short-sighted and unnecessary use of an IE control to render the message window, and I don't want my app becoming another way a virus can spread.

Ultimately, since I'm receiving data from the network, I don't trust the other side at all. Thus, I shy away from the IE control even if its more work for me.

[edited by - antareus on October 11, 2003 4:07:01 PM]
--God has paid us the intolerable compliment of loving us, in the deepest, most tragic, most inexorable sense.- C.S. Lewis
Hey, thanks for all the replies they''ve helped
me out a lot. I have just one more question.
Why whenever I add an activeX contorl to my dialogbox it returns NULL and doesn''t show up? These''s got to be somthing I''m doing wrong. But I can''t put my fingure on it. It can''t be the code,
because it works fine till I add a activeX control to my dialogbox. Then After I compiler it and run it it says sorry dialogbox returned NULL. Anyone know why?
Thanks,
demonrealms

This topic is closed to new replies.

Advertisement