Re: Description Field in WinXP Services

2005-01-31 Thread Larry Bates
Roger, I wrote an extension to Mark Hammond's win32serviceutil.ServiceFramework class (that I submitted to him also) that extends the class to provide you with this functionality (along with the ability to support py2exe frozen services better). Here it is: import _winreg import os import win32ev

Re: Description Field in WinXP Services

2005-01-29 Thread rbt
rbt wrote: Roger Upole wrote: ChangeServiceConfig2 is the api functions that sets the description, but it's not in the win32service module (yet). Roger OK, I can use _winreg to add the 'Description' field under the appropriate registry key. Here's an example of it... kludgey but it works

Re: Description Field in WinXP Services

2005-01-29 Thread rbt
Roger Upole wrote: ChangeServiceConfig2 is the api functions that sets the description, but it's not in the win32service module (yet). Roger OK, I can use _winreg to add the 'Description' field under the appropriate registry key. -- http://mail.python.org/mailman/listinfo/python-list

Re: Description Field in WinXP Services

2005-01-29 Thread Roger Upole
ChangeServiceConfig2 is the api functions that sets the description, but it's not in the win32service module (yet). Roger "rbt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How does one associate a "Description" with a Windows service written in > Python? I've just sta

Description Field in WinXP Services

2005-01-29 Thread rbt
How does one associate a "Description" with a Windows service written in Python? I've just started experimenting with Python services. Here's my code... copied straight from Mr. Hammond's "Python Programming on Win32": import win32serviceutil import win32service import win32event class test_