我制作了一个在启动期间启动的应用程序,下面是下面的代码。重新启动后,该进程将在进程管理器工具上运行,但是在屏幕上看不到该应用程序。当我从启动注册表值中打开相同的.exe文件时,程序运行完美。// The path to the key where Windows looks for startup applicationsRegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);// Add the value in the registry so that the application runs at startuprkApp.SetValue("MyApp", Application.ExecutablePath.ToString());我该如何解决?
3 回答
- 3 回答
- 0 关注
- 623 浏览
添加回答
举报
0/150
提交
取消