[python-win32] Dispatch suddenly generates com_error: even wi th period!
Andrew Bennetts
andrew-pywin32@puzzling.org
Sat, 6 Jul 2002 13:09:44 +1000
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.