This will help you
http://www.velocityreviews.com/forums/t324326-re-py2exe-question.html
Thanks and Regards,
Mayank Johri
Merrill Lynch & Co.
Ph: 212.647.3076
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of João
Abrantes
Sent: Friday, January 04, 2008 1:44 PM
To: [email protected]
Subject: [python-win32] Starting a .exe py2exe program in background
mode.
Hello everyone.
I have made a python program and converted into an executable using
py2exe. Now I want him to start on windows startup without showing the DOS
Window... I have registered the program on windows startup registry key:
key = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",0, _winreg.KEY_ALL_ACCESS)
_winreg.SetValueEx(key, "My program",0, _winreg.REG_SZ,
'"C:\\jpia\\Programs\\Myprogram.exe" /background')
as you see I added the option "/background" but the DOS window still
appears... well I hope you can help me. Thanks.
_____
Express yourself instantly with MSN Messenger! MSN Messenger
<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
--------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or
proprietary, and if you are not an intended recipient, please notify the
sender, do not use or share it and delete it. Unless specifically indicated,
this message is not an offer to sell or a solicitation of any investment
products or other financial product or service, an official confirmation of any
transaction, or an official statement of Merrill Lynch. Subject to applicable
law, Merrill Lynch may monitor, review and retain e-communications (EC)
traveling through its networks/systems. The laws of the country of each
sender/recipient may impact the handling of EC, and EC may be archived,
supervised and produced in countries other than the country in which you are
located. This message cannot be guaranteed to be secure or error-free. This
message is subject to terms available at the following link:
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you
consent to the foregoing.
--------------------------------------------------------
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32