Jeff Peery wrote: > > > I'm using the code pasted below to print a document with internet > explorer. The code worked great on my XP machine. I moved it to my W7 > machine and it gives the error below. The weird thing is that it works > great if printing a html doc from the web (such as www.google.com > <http://www.google.com>), but it errors when printing a html doc from > my desktop. The document loads (as I can see it on the screen) but it > chokes when printing. Perhaps it is a problem with a new version of IE? > > ... > > com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, > 0, -2147221248), None)
-2147221248 is 0x80040100, which is either DRAGDROP_E_NOTREGISTERED (unlikely) OLECMDERR_E_NOTSUPPORTED. I know they've tightened up security quite a bit, but it's hard to see how that applies here. Is this a "funky" web page, or just a simple HTML doc? -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32