计算机启动时自动加载应用程序 [英] Auto load an application when the computer starts
本文介绍了计算机启动时自动加载应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我正在一个GUI项目上,我希望在计算机启动时自动加载表单,您能建议一些解决方法吗?
谢谢
Radix
hello,
I am working on a GUI project where i want a form to auto load when the computer starts can u please suggest some solution...
Thank You
Radix
推荐答案
一种解决方案是将您的应用程序添加到Start->[All] Programs->Startup sub menu
(C:\ Documents and Settings \ All Users \ Start Menu \ Programs \ Startup).
另一种选择是使用注册表:请参见此处 [此处 [
One solution is adding your application toStart->[All] Programs->Startup sub menu
(C:\Documents and Settings\All Users\Start Menu\Programs\Startup).
Another option is using registry: see here[^] or/and here[^] for simple tutorials. :)
Regards
为什么不让您的程序在启动时由Windows自动启动(例如,请参见[
Why don''t make your program to be launched automatically by Windows at startup (see, for instance [^])?
:)
计算机启动时,无法启动带有用户界面的程序.但是,您可以*编写一个Windows服务,该服务将在Windows启动后立即运行(通常无需用户登录).
如果需要在用户登录时运行程序,则可以将其放在启动"文件夹中.
No program with a user interface can be started when the computer starts. However, you *could* write a windows service, which will run as soon as Windows is started (and usually without a user being logged in).
If you need a program to run when a user logs in, you can put it in the Startup folder.
这篇关于计算机启动时自动加载应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文