I have some quite complex HTML/Javascript UI code hosted currently by Microsoft's web browser control and for quite some time now I've been monitoring Mozilla and the Mozilla control project with a view to getting it to work in an open source environment.
Unfortunately the Mozilla control still seems very unstable. In particular, simply hosting it in a one-form VB6 (SP5) project (under Win2K Sp4 with IE6 SP1 installed, btw) and then putting a command button on the form with wb.navigate "www.google.com" (control renamed wb to avoid all the typing) is not totally reliable. If google does come up ok, then stopping the project and changing that line to read wb.navigate "www.gooxxxle.com" or anything similar i.e URL which doesn't exist will often provoke an access exception when navigate is re-invoked, and crash VB. Or after you try this, and it doesn't fail obviously, and set it back to www.google.com, then google won't load subsequently when you click the command button and re-invoke navigate. This is disappointing, because in the same environment the IE browser control is rock-solid (and so is Mozilla itself, btw) However, perhaps there is some environmental thing I haven't done properly - a prerequisite DLL or something that is incorrect - though I did a clean Mozilla 1.6 install and, as I said, everything else is reasonably up-to-date wrt service packs. Does anyone have any experience to show that the Mozilla control can be made stable?. If time permits I will recompile it with debug and see exactly where the exception occurs. However, when I last looked at the project about a year ago stability was a big issue then (I think this was with Mozilla 1.1, from memory). If I *do* get it working reliably, does anyone know if it will support the DrawToDC method that IE supports. I need this to render printed output to a device context rather than use OLECMDID_PRINT because this allows me to do a world transform (rotation) on the output prior to printing. _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
