Re: win32com.client.constants - AttributeError

2006-04-21 Thread kbperry
Wow..I didn't even realize that this existed. Thanks for your help! -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client.constants - AttributeError

2006-04-21 Thread Roger Upole
There are a couple of different ways to run makepy. Start Pythonwin, and from the menu select Tools->Com Makepy Utility. You should see a list of registered typelibs. Select "Microsoft Word x.y Object Library" and hit Ok. This can also be done programatically by initiating Word with win32com.clie

Re: win32com.client.constants - AttributeError

2006-04-21 Thread kbperry
Please help! Anyone else know? -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client.constants - AttributeError

2006-04-21 Thread kbperry
how do I do this? Where is the Word object library? -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client.constants - AttributeError

2006-04-20 Thread Roger Upole
The constants are only available if you've run makepy on the Word object library. Roger "kbperry" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On my machine, this runs fine, but when I try to run it on someone > elses machine it blows up with an attribute error: > > > imp

win32com.client.constants - AttributeError

2006-04-20 Thread kbperry
On my machine, this runs fine, but when I try to run it on someone elses machine it blows up with an attribute error: import win32com.client, pythoncom pythoncom.CoInitializeEx(pythoncom.COINIT_APARTMENTTHREADED) myWord = win32com.client.dynamic.Dispatch ("Word.Application") myWord.Visible = Tru