<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hello everyone.<br>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:<br><br> key = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",0, _winreg.KEY_ALL_ACCESS)<br> _winreg.SetValueEx(key, "My program",0, _winreg.REG_SZ, '"C:\\jpia\\Programs\\Myprogram.exe" /background')<br><br>as you see I added the option "/background" but the DOS window still appears... well I hope you can help me. Thanks.<br></div><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>