【问题标题】:VB.net and running an external .exe program in both Administrator mode and compatibility mode (windows xp sp2)VB.net 并在管理员模式和兼容模式下运行外部 .exe 程序 (windows xp sp2)
【发布时间】:2011-03-01 17:33:29
【问题描述】:

大家好,我正在努力寻找一些代码,让我能够以管理员权限和 Windows xp sp2 兼容模式运行程序。但我还没有找到任何使用 VB.net 的代码

任何帮助/链接都会很棒!谢谢!

大卫

【问题讨论】:

    标签: vb.net visual-studio-2010 compatibility compatibility-mode


    【解决方案1】:

    如果您不必传递命令行参数,您可以创建 exe 的快捷方式,并将其设置为兼容模式和管理员。然后只需 ShellExecute 快捷方式。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-14
      • 2011-06-08
      • 1970-01-01
      • 2015-04-26
      相关资源
      最近更新 更多