Re: [python-win32] os.startfile() not working after py2exe into aservice

2006-01-18 Thread aurora
That was it. Thank you! I know many service do not need to interact with users. But there are also some background agent (say anti-virus) that may need to interact with users from time to time. wy On Wed, 18 Jan 2006 14:43:46 -0800, Mark Hammond <[EMAIL PROTECTED]> wrote: > Note that servi

Re: [python-win32] os.startfile() not working after py2exe into aservice

2006-01-18 Thread Mark Hammond
> Hopefully someone can enlighten me with this Windows issue. > > I use os.startfile() to launch pdf and html files. So far so good. > > Build using py2exe. Install as service. When os.startfile() is > ran inside > service, nothing happens. No error message. Nothing as all. > > Even if I build it a

Re: [python-win32] os.startfile() not working after py2exe into a service

2006-01-18 Thread Paul Moore
On 1/18/06, aurora <[EMAIL PROTECTED]> wrote: > Build using py2exe. Install as service. When os.startfile() is ran inside > service, nothing happens. No error message. Nothing as all. [...] > I'm suspecting priviledge issue. But even if I change the service logon as > myself instead of LocalAdmin,

[python-win32] os.startfile() not working after py2exe into a service

2006-01-18 Thread aurora
Hopefully someone can enlighten me with this Windows issue. I use os.startfile() to launch pdf and html files. So far so good. Build using py2exe. Install as service. When os.startfile() is ran inside service, nothing happens. No error message. Nothing as all. Even if I build it as .exe, the o

[python-win32] ADO and LIKE statements in python

2006-01-18 Thread ram
Helo guys, I am trying to query the MSSQL DB using ADO. I am not able to make the LIKE statement fetch the correct results. Can anyone tell me what I need to do to get this working? Below is the code snippet: import win32com.client const = win32com.client.constants #

[python-win32] ADO and LIKE statements in python

2006-01-18 Thread Ram Sundar
Helo guys,     I am trying to query the MSSQL DB using ADO. I am not able to make the LIKE statement fetch the correct results. Can anyone tell me what I need to do to get this working? Below is the code snippet:         import win32com.client         const = win32com.client.constants         #