[python-win32] Connection to remote machine registry fails.

2009-09-17 Thread siddhartha veedaluru
Hi , I'm trying to connect to a remote windows machine's registry using ConnectRegistry and try to get the process architecture information. Here is the code snippet for it #processRegKey = "System\CurrentControlSet\Control\Session Manager\Environment" #processRegValue = "PROCESSOR_ARCHITECTURE"

Re: [python-win32] Connection to remote machine registry fails.

2009-09-17 Thread Tim Roberts
siddhartha veedaluru wrote: > > I'm trying to connect to a remote windows machine's registry using > ConnectRegistry and try to get the process architecture information. > > Here is the code snippet for it > #processRegKey = "System\CurrentControlSet\Control\Session > Manager\Environment" > #p

Re: [python-win32] problem in calling excel object quit method

2009-09-17 Thread Tim Roberts
Puneet Singh wrote: > > Hi, > >I am calling quit() from a thread but its not working > You need to call Quit from the thread that created the Excel object. Are you doing that? -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc. ___ pyth

[python-win32] window events via SetWindowsHookExA

2009-09-17 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I am trying to use SetWindowsHookExA via ctypes to be notified when Windows are mapped/unmapped, to get the same functionality as SUBSTRUCTURE_MASK events on the root X-window (or is there a better way that I have missed?) Here is the code: WI

Re: [python-win32] window events via SetWindowsHookExA

2009-09-17 Thread Tim Roberts
Antoine Martin wrote: > > I am trying to use SetWindowsHookExA via ctypes to be notified when > Windows are mapped/unmapped, to get the same functionality as > SUBSTRUCTURE_MASK events on the root X-window (or is there a better way > that I have missed?) WH_CALLWNDPROC is a bit extreme. The equiv

[python-win32] python-win32 : cross database automation

2009-09-17 Thread Threader Slash
Hello Everybody... I working on a client-server database solution. The system is normalized and is using MySQL. To automate some of processes I using Python. Part of the old database will be still running on Lotus Notes. After working on it, it seems that the best choice to directly manipulate Lo