[python-win32] Dispatch suddenly generates com_error: even wi th period!

Strijbos, Dr. R.C. R.C.Strijbos@tue.nl
Mon, 8 Jul 2002 23:37:55 +0200


Yes, it has Excel installed and functioning properly.

Remco.

-----Original Message-----
From: Andrew Bennetts [mailto:andrew-pywin32@puzzling.org]
Sent: Saturday, July 06, 2002 5:10 AM
To: Strijbos, Dr. R.C.
Cc: 'python-win32@python.org'
Subject: Re: [python-win32] Dispatch suddenly generates com_error: even
wi th period!


On Fri, Jul 05, 2002 at 07:17:16PM +0200, Strijbos, Dr. R.C. wrote:
> Thanks for the replies, but the problem might be a bit more complicated..
> Actually, I had the period in my code (sorry for the typo) but even when I
> type:
> 
> import win32com.client
> xl=win32com.client.Dispatch("Excel.Application")
> 
> I get the same com_error. It works on other Win32 machines, and
> has worked on this one before, but now apparently something is
> wrong. I reinstalled ActivePython, but still the same problem. 
> Could it be something in the registry?

Pardon me for asking the bleeding obvious, but does that machine have Excel
installed?

-Andrew.