Re: [python-win32] Standby/Hibernate

2008-06-05 Thread Rickey, Kyle W
Thanks Tim. That did the trick. I need to do more digging on MSDN. Most of the google results I hit were people trying to prevent standby/hibernate. Thanks again. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Thursday, June

[python-win32] event Makepy question

2008-06-05 Thread Serge Gauthier
Hi, To develop a interface to a COM library under Boa Constructor and WxPython, Python 2.5, I had to use the makepy utility to generate the classes file. I show you a part of this file: from win32com.client import CoClassBaseClass # This CoClass is known by the name 'PcommServer.PmacDevice.

Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-05 Thread spoirot
bob gailer wrote : Not really my area of expertise, but might it be possible to use one of the RunOnce keys in your circumstances? My client starts at user's login. This is made by putting a value in the Run key of HKLM hive. My Service is configured to start automatically at windows boot. F

[python-win32] Autocad automation via COM

2008-06-05 Thread Petr Dlabal
Hello, I'm new in this mailing list. I'd like to discuss this problem with pywin32 and autocad: autocad awaiting parameters to functions as variants, but in fact, it must be for example array of doubles x,y,z. The problem and some fix by patching build.py script is described here: http://www.mail-a

Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-05 Thread Tim Golden
spoirot wrote: But the big problem is that my service has to alter some registry keys in HKLM hive, and these changes have to be done after any user login : indeed, I would like to set these keys at windows boot in order that when anyone logs in, the changes take effect. If the changes are done

Re: [python-win32] Standby/Hibernate

2008-06-05 Thread Tim Golden
Rickey, Kyle W wrote: What do I need to do to put my local computer into standby? I found the function: win32api.InitiateSystemShutdown("INT8Y4Y3B1", "Tom Sucks", 300, False, False) but it seems to only shutdown/restart. You need the SetSystemPowerState [1] function from kernel32. (And your

Re: [python-win32] Service does not start at windows boot but at user's login

2008-06-05 Thread spoirot
bob gailer wrote : I run Windows 2003 Server with automatic logon. It seems to me that some services are started after the logon. I base this on noting that I get the Some Services Did Not Start alert many seconds after my desktop has appeared. Could the client repeatedly try connecting wit