Click here to Skip to main content
16,020,811 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,
I'm working on visual studio 2010 and i want to start a UI application to do something.but,the program must installed on windows server 2008 r2.
so,I must programming the application as a windows server because of the server will often be restart.
and the windows server run a UI application, The problem is ,without login windows desktop,The UI application will not be start.
at last my english was bad,so if you can read it,please help me solve the problem. thank you very much!



E-mail:1102043058@qq.com
name:jason.xu
Posted

If you want your application to start when the machine reboots and run without a UI then you could develop it as a Windows Service. A service can't have a UI, but if your app needs to run with no UI then chances are it does things without input anyway.
 
Share this answer
 
Comments
true_jeamy 31-May-15 11:50am    
thank you for your help, but my app must call an other app (exe), and it's not allowed under the windows server.
and i search solution whole day,and i got some answers ,such as
"http://www.codeproject.com/Articles/36581/Interaction-between-services-and-applications-at-u"
"http://www.codeproject.com/Articles/18367/Launch-your-application-in-Vista-under-the-local-s"
but these solution must be login the windows first.
so, i let the windows server 2008 r2 automatic login and then the question solved,
at last i found if i log off the windows again ,the application will not be run.
if anyone has the same problem these solution may be able to help you.
Interaction between services and applications at user level in Windows Vista and Launch your application in Vista under the local system account without the UAC popup
thank you for everyone. and the question is continue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900