There is a registry hack to make a Windows box auto log in when it boots up. If you cannot find an example, get back to me and I will get a sample from a co-worker at a former employer. We had several dozen machines there which were actually servers, but the software was written for a GUI desktop. An auto-login with a Python startup script make them work automatically. Something like that may do the trick for your application.<br>
Vernon<br><br><div class="gmail_quote">On Wed, Dec 1, 2010 at 8:02 PM, Roberto Aguilar <span dir="ltr"><<a href="mailto:roberto.c.aguilar@gmail.com">roberto.c.aguilar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Dec 1, 2010, at 6:43 PM, Randy Syring wrote:<br>
> On 12/01/2010 08:28 PM, Tim Roberts wrote:<br>
>> Randy Syring wrote:<br>
>>> It seems likely to me that you can not run a GUI program under a<br>
>>> non-interactive service like IIS. But, I am not 100% sure on this so I<br>
>>> was hoping that this list might be able to shed some light on this topic.<br>
>> Your analysis is quite correct.<br>
> Thank you for the confirmation.<br>
>> It is possible, through painful and creative use of CreateProcessAsUser,<br>
>> to create a process as the user that is running on the primary visible<br>
>> desktop. Here's more information, although I don't really think it<br>
>> solves your problem:<br>
>><br>
>> <a href="http://msdn.microsoft.com/en-us/library/ms683502.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms683502.aspx</a><br>
>><br>
> Good to know, but you are correct that it doesn't solve the problem. This program needs to work even when no users are logged into the server, as that will be the case 99% of the time.<br>
<br>
</div>My guess is that you do not have access to the source code of the .exe in order to yank out the dialog and recompile, correct?<br>
<br>
We had a similar issue at work and ended up using Ollydbg [1] to find out where the msgbox call was being made within the executable. Once located, the msgbox call and associated instructions were replaced with noop calls.<br>
<br>
Hacky? Absolutely. Did it work? Yep.<br>
<br>
Hope this helps,<br>
-Roberto.<br>
<br>
[1] <a href="http://www.ollydbg.de/" target="_blank">http://www.ollydbg.de/</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
</div></div></blockquote></div><br>