开发者

ClickOnce Deployment - Run at Startup

I've successfully configured my clickonce deployed application to run on system startup by adding a registry key to: SOFTWARE\Microsoft\Windows\CurrentVersion\Run\.

However, when the system starts my app runs before networking is available. Is there anyway for me to configure this so that my app waits for networking resources to become available? Or will 开发者_Go百科I need to check for networking on launch?

Thanks, Parv


I post this anticipating a flurry of downvotes, but even if it is an ugly solution, it should work.

It's not the most elegant approach, but rather than using the registry, you could put a shortcut into the user's startup folder on their programs menu. It should load after the network is available.


Alternatively, you can try to update manually after launch. See http://msdn.microsoft.com/en-us/library/ms404263.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜