运行代码时拒绝访问

时间:2016-05-02 14:32:42

标签: windows-services

当我运行代码时:

SendKeys.SendWait("%({PRTSC})")

这不起作用。我收到错误:

Access is denied.

如果有人有解决方案,请回答。

1 个答案:

答案 0 :(得分:1)

Windows Services是一个后台应用程序。它与explorer.exe(仅文件系统,注册表)没有交互

相关问题