Re: Problems embedding Gecko (Mozilla) in Delphi app
"Dave Murray" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
Hi, If you've got Mozilla then you already have the control, you just need to register it with Windows before installing it in Delphi. Visit http://www.iol.ie/~locka/mozilla/mozilla.htm for details. Thanks, Dave. --- In [email protected], Taj Morton <tmorton@l...> wrote: > 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. > > > ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges & Refill Kits for Your Epson at Myinks.com Free shipping on orders $50 or more to the US and Canada. http://www.c1tracking.com/l.asp?cid=5705&lp=home/epson.asp http://us.click.yahoo.com/brYXfA/_xWGAA/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/