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

2008-01-20 Thread Roger Upole
Mark Hammond wrote: >> Runas also works on XP, so you should be able to reduce the version >> check by a notch. > > Does it actually do anything there? Maybe it prompts for admin > username/password when the user isn't an admin (as opposed to vista, which > fails even when the user *is* admin but

Re: [python-win32] transparency on window

2008-01-20 Thread Henry Baxter
Are you sure you are working with a layered window? I'm pretty certain that for these functions to work you need to have a window with the WS_EX_LAYERED style bit set. On Jan 20, 2008 2:42 AM, astralrod <[EMAIL PROTECTED]> wrote: > > Hello! > > I am doing a script to make a window transparent, bu

[python-win32] Python and excel

2008-01-20 Thread Nicholas
Progressing through (lower regions of) the python/Com learning curve I cannot help but think (and I know im not the first to suggest this) that a python interpreter could take the place of the VBA editor. 1. It seems to me we could automatically set a com wrapper around any arbitrary function defin

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

2008-01-20 Thread Michel Claveau
Hi! Sorry, I can't read "THE" book, today. I only wish to say than Python-COM-dynamic-server run very well. I use this techno all days, and also many of my customers (but they don't know it ; because it's transparent, for them). @-salutations Michel Claveau

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

2008-01-20 Thread Mark Hammond
Hi Roger, > Runas also works on XP, so you should be able to reduce the version > check by a notch. Does it actually do anything there? Maybe it prompts for admin username/password when the user isn't an admin (as opposed to vista, which fails even when the user *is* admin but not yet elevated).

[python-win32] transparency on window

2008-01-20 Thread astralrod
Hello! I am doing a script to make a window transparent, but when using the function: Win32gui.SetLayeredWindowAttributes (918020.127, int (win32api.RGB(255255255)), 0) It always generates an error, so, I tried to see the attributes of the window with Win32gui.GetLayeredWindowAttributes (918020