Re: [python-win32] COM registration/unregistration and elevation onVista

2008-01-19 Thread Michel Claveau
Hi, all! Answer(s) "in bulk"... [Mark] a patch for register.py is a way moreover ; it is always good to take. >The elevation prompt simply says "python.exe" Yes. But developers can also inform their users. > manifest The problem is: manifest is link to python.exe (=> all python scripts).

Re: [python-win32] COM registration/unregistration and elevation on Vista

2008-01-19 Thread Roger Upole
"Tim Roberts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mark Hammond wrote: >> On Vista, it's necessary to register python COM objects from an >> "elevated" >> process. In practice, this means I tend to keep a command-prompt open >> started with "run as administrator", do reg

Re: [python-win32] COM registration/unregistration and elevation onVista

2008-01-19 Thread Mark Hammond
Hi Michel, > > manifest > > The problem is: manifest is link to python.exe (=> all python scripts). > It's > no possible to separate some scripts from others... We could document that to get the admin privs, you should use a different .exe. But that still sucks :) > I (to date) did not test a

[python-win32] newbie question on calling DynamicPolicy.py from python com client

2008-01-19 Thread Nicholas
Hi, I have executed tried to call the ch12 example dynamic server " DynamicPolicy.py" from python client via: m = win32com.client.Dispatch('PythonDemos.StringModule') m.split('hello there') which gives the following error: pythoncom error: Python error invoking COM method. : Objects of type 'fun

[python-win32] IColumnProvider

2008-01-19 Thread Sebastian Wangnick
Dear all, I’m a happy user of win32com for long, generating Word documents from Python. I’d now like to do something more ambitious, namely to implement an IColumnProvider. Is an example of such a beast available, or could you provide me some help? Also, does Vista still support IColu

[python-win32] IColumnProvider

2008-01-19 Thread Sebastian Wangnick
Dear all, I’m a happy user of win32com for long, generating Word documents from Python. I’d now like to do something more ambitious, namely to implement an IColumnProvider. Is an example of such a beast available, or could you provide me some help? Also, does Vista still support IColumnProvider

Re: [python-win32] newbie question on calling DynamicPolicy.py from python com client

2008-01-19 Thread Mark Hammond
Somewhat embarrasingly, that sample doesn't work with Python (clearly I tried harder to make it work with VB then python :) The problem is that Python itself attempts to fetch 'split' as a property, and depending on the error code it gets, it may retry as a method (the problem is that in the ex

Re: [python-win32] IColumnProvider

2008-01-19 Thread Mark Hammond
> Im a happy user of win32com for long, generating Word documents from > Python. > > Id now like to do something more ambitious, namely to implement an > IColumnProvider. > Is an example of such a beast available, or could you provide me some > help? You should find that other samples on the web