Alex <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> > 
> > 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.
> > 
> 
> Can you file a bug in bugzilla on this ?
> 
> For DrawToDC, I never heard of this method on the IE component or in 
> MsHtml. What interface is it defined in?
> 
> I have been working on the control for a few month now, and still am, 
> and I removed a few crashes as well as added some unsupported interfaces.

DrawToDC is part of MSHTML.IHTMLElementRender. It is a real lifesaver
because what it lets you do is ask the browser to render the current
page to a device context that YOU provide. Now, this lets you do any
arbitrary operation on the DC then print it or do whatever you like
(in my case, rotate 180 degrees so that I can print thermal labels so
they pop out the printer 'the right way round' for the user i.e
readable).

Unfortunately IE's programmable printing control is otherwise a bit
too rudimentary - for example, if you want to print to a specific
printer you have to programmatically make that the default printer,
ask IE to print, then put it back the way it was. Ick!

I will download the source and try and see where (and why) it's
crashing, as the problem is intermittent - though certainly a couple
of minutes trying to use the control in even the simplest project is
almost certain to expose some kind of glitch - not always a crash,
sometimes, as I said, it just 'sulks' and won't display any more web
pages.
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to