Re: Problems embedding Gecko (Mozilla) in Delphi app

Taj Morton <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
Hi Dave,
I don't have an answer to your question, but a question. Where can I get 
the Mozilla ActiveX control?
Thanks, Taj

>Hi,
>
>I'm building a Delphi app which uses the Gecko Rendering Engine
>(Mozilla) to display web pages. I'm using the Mozilla ActiveX Control,
>which is designed to replace the MS TWebBrowser. I've hooked up the
>control to my GUI and can view pages no problem but I'm having some
>problems. I'm trying to use ExecWB as per the TWebBrowser using
>commands like:
>
>mzGecko.ExecWB(OLECMDID_PAGESETUP, OLECMDEXECOPT_PROMPTUSER);
>
>As with TWebBrowser I've added the following sections to my unit:
>
>initialization
>OleInitialize(nil);
>
>finalization
>OleUninitialize;
>
>Calling the Print command works but when calling Page Setup or Print
>Preview I'm getting this exception: EOleException - Trying to revoke a
>drop target that has not been registered.
>
>I'm also using ExecWB to call Edit menu commands, Copy and Select All
>work but Clear All doesn't.
>
>I'm using Win 2k Pro SP4, Delphi 6 Enterprise and Mozilla 1.4
>(Gecko/20030624).
>
>Any ideas?
>
>Thanks,
>Dave.
>
>
>
>CodeCoffer - new Delphi code protection Tool!
>http://www.delphicollection.com/public/CodeCoffer.htm
>---------------------------------------------------------------
>Unsubscribe:[email protected]
>List owner:[email protected]
>--------------------------------------------------------------- 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
>  
>


-- 
"My software never has bugs, it just develops random features."



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.