[python-win32] Vista's win32

2007-03-18 Thread JJJanse
On WinXP I used to import win32api import win32con import win32event from win32com.shell import shell, shellcon in order to call exResult=shell.ShellExecuteEx( lpFile=rC:\Program Files\MLDownloader\MLDownloader.exe, lpParameters=-MLD_daily, nShow=win32con.SW_NORMAL,

Re: [python-win32] Vista's win32

2007-03-18 Thread Michel Claveau
Hi! This is no a PyWin32 problem. It's a Vista resctriction. You must configure your software, for give to rights of launch. Your code run OK, for execute a(nother) software, in another directory (I had try). @-salutations Michel Claveau ___

Re: [python-win32] odd problem with Microsoft Word

2007-03-18 Thread Ross McKerchar
Kelie wrote: The simple code shown below runs fine. It adds a custom document property to the active word document. But as soon as i use makepy on the Microsoft Office 11.0 Object Library (2.3), i get an AttributeError when run the same code: AttributeError: 'win32com.gen_py.Microsoft

Re: [python-win32] screen size/resolution in win32 in python

2007-03-18 Thread Tim Golden
[copying back to the list in case it's of more general interest] adrian villanustre wrote: Tim: Tank you very much, that solve my problem (just one of them) BTW can you give me a good link related to python-win32 reference and use The best reference, I'm afraid, is the .chm file which comes

Re: [python-win32] screen size/resolution in win32 in python

2007-03-18 Thread Tim Golden
Tim Golden wrote: I do have a small series of pages: http://timgolden.me.uk/python/win32_how_do_i.html which tries to address some common problems, but they are pitifully few compared to the questions which get asked. I'll try to add your question on so at least that one's covered.

Re: [python-win32] odd problem with Microsoft Word

2007-03-18 Thread Kelie
Ross McKerchar it at crummock.com writes: When you use early bound code everything becomes case sensitive when it wasn't before. Admmitedly, however 'Add' with an uppercase A does seem right for office. Thanks for your reply Ross. But it seems to me early-binding is not the cause of