且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何开发在启动时运行的C#.Net应用程序

更新时间:2023-10-22 20:54:22



将您的应用程序移至自动启动对您不起作用?

^ ]

问候


您要用谷歌搜索的是"Windows服务"


部署应用程序时,请在安装项目中使用注册表编辑器将应用程序设置为启动.

使用以下链接可以了解您需要设置的注册表项:

http://www.pctools.com/guides/registry/detail/109/ [ ^ ]


>

Hi,
I want to know how to develop c#.net application that automatically runs when user turn on the system

Hi,

moving your application to autostart doesn''t work for you?

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/how-to-add-a-program-to-startup/91d18255-659e-4796-87f6-5e6c814c7d50[^]

Regards


What you would google for is a "windows service"


When deploying your application, use registry editor in setup project to set your application to start up.

Use the following link to know registry keys you need to set:

http://www.pctools.com/guides/registry/detail/109/[^]