问题描述
大家好,
我对启动程序有疑问.
我创建了一个启动程序,在某些窗口中它可以正常工作.这个启动程序与SQL Server相连.当我启动窗口时,它将首先启动.
我需要更改该程序的启动顺序,以便在所有启动程序启动时都比该程序启动.
这样,我解决了这个问题.
请提出最佳答案.
我需要再添加一个朋友,这个应用程序包含清单文件,以便它以管理员身份启动.
请发送您的答案,或者您需要有关此问题的更多详细信息.
谢谢朋友.
等待答案.....
< b>< u>根据Adit Answer</u></b>
好吧,我已经实现了所有这些东西,但是问题是我在启动时添加了该程序.现在,此程序在启动SQL Server之前启动.然后它给了我错误.
我需要该程序在所有启动程序中最后开始.
设置启动程序顺序的任何解决方案.
Hello All,
I have a question regarding start-up program.
I created a start-up program and it is working fine in some windows. Well this start-up program connected with SQL server. when i start the window then it is start first.
I need to change the start-up order of this program, so that, when all the start-up program start than this program start.
In this way i resolved this issue.
Please suggest your best Answer.
I need to add one more thing friends this application contain manifest file so that it start as an administrator.
Please send yours answer or you need any more details regarding this feel free to ask.
Thanks Friends.
Waiting for Answer.....
<b><u>According To Adit Answer</u></b>
Well i have implemented all these things, but problem is that I add this program runas startup. Now this program start before the startup of SQL server. Then it gives me error.
I need that this program start at last of all the startup program.
Any solution to set the order of startup program.
推荐答案
<requestedexecutionlevel level="requireAdministrator" uiaccess="false" />
请参阅下面的一些参考链接
http://howtoideas.net/how-to-强制c-应用程序仅以管理员身份在Windows中运行
http://www.enusbaum.com/blog/2007/08/26/how-to-run-your-c-application-as-administrator-in-windows-vista/
see some reference links below
http://howtoideas.net/how-to-force-c-application-to-only-run-as-administrator-in-windows
http://www.enusbaum.com/blog/2007/08/26/how-to-run-your-c-application-as-administrator-in-windows-vista/
这篇关于启动程序无法根据要求运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!