Sorry for my bad english,

I am trying to write a script to make automatic conversion of Microsoft Visio documents to html. I want to do it by using COM objects.

When I try to create an instance of "SaveAsWeb.VisSaveAsWeb" object I got this error:

>>> import win32com.client
>>> win32com.client.Dispatch("SaveAsWeb.VisSaveAsWeb")
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
File "C:\Python25\Lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 98, in _GetGoodDispatchAndUserName File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 78, in _GetGoodDispatch com_error: (-2147024770, 'The specified module could not be found.', None, None)
>>>

However, I am able to create instance of the "Visio.Application" object but when I try to use is "SaveAsWebObject" property I get a generic COM Object that seem useless.

Thanks in advance,
Dave

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to