On my machine, this runs fine, but when I try to run it on someone
elses machine it blows up with an attribute error:
<code>
import win32com.client , pythoncom
pythoncom.CoIni tializeEx(pytho ncom.COINIT_APA RTMENTTHREADED)
myWord = win32com.client .dynamic.Dispat ch ("Word.Applicat ion")
myWord.Visible = True
myDoc = myWord.Document s.Open(FileName = "C:\Test.do c")
myDoc .SaveAs(FileNam e = "c:\Test.ht m", FileFormat =
win32com.client .constants.wdFo rmatHTML)
myDoc.Saved=1
myWord.Quit ()
del myWord
pythoncom.CoUni nitialize()
</code>
It's pretty simple code so I don't understand why it doesn't work. I
verified that he has the same pywin32 module as me (build 207) and the
same python version (2.4.2).
Any ideas?