This is just a standard html doc. As simple as it gets.

-----Original Message-----
From: python-win32-bounces+jeffpeery=seametrics....@python.org 
[mailto:python-win32-bounces+jeffpeery=seametrics....@python.org] On Behalf Of 
Tim Roberts
Sent: Wednesday, May 04, 2011 11:39 AM
To: Python-Win32 List
Subject: Re: [python-win32] Problem Automating IE on W7

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
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to