以编程方式打开compmgmt.msc [英] Programmatically open compmgmt.msc

查看:72
本文介绍了以编程方式打开compmgmt.msc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提前感谢您提供任何帮助。我正在构建一个技术人员的
工具,我正在尝试创建一个跳转面板按钮到Windows System32

文件夹以编程方式打开文件。除了Microsoft计算机管理控制台之外,我的大部分程序都打开了
文件。


我试过按钮点击事件

Shell(C:\ WINDOWS \ system32 \ compmgmt.msc)


但没有任何反应。没有开放的程序,没有任何错误。


Michael

解决方案

eSolTec写道:
< blockquote class =post_quotes>
>提前感谢您提供任何和所有帮助。我正在构建一个技术人员的工具,我正在尝试创建一个按钮跳转面板到Windows System32
文件夹,以编程方式打开文件。除了Microsoft计算机管理控制台之外,我打开了大部分程序文件。

我试过按钮点击事件

Shell(") C:\ WINDOWS \ system32 \ compmgmt.msc")

没有任何反应。没有开放的节目,没有任何错误。

迈克尔



试试这个:


Shell(C:\ WINDOWS \ system32 \ compmgmt.msc / s)


T


或者你可以尝试使用Process Class


Dim proc作为新进程

Dim procSI作为新的ProcessStartInfo(" C:\ WINDOWS \system32 \ compmgmt.msc / s")

proc.StartInfo = procSI

proc.Start()

应该也可以工作

-

-iwdu15


T,


感谢您的提示。我尝试过但没有成功。


迈克尔


" tomb"写道:


eSolTec写道:


提前感谢您提供任何和所有帮助。我正在构建一个技术人员的
工具,我正在尝试创建一个跳转面板按钮到Windows System32

文件夹以编程方式打开文件。除了Microsoft计算机管理控制台之外,我的大部分程序都打开了
文件。


我试过按钮点击事件

Shell(C:\ WINDOWS \ system32 \ compmgmt.msc)


但没有任何反应。没有开放的节目,没有任何错误。


Michael



试试这个:


Shell(C:\ WINDOWS \ system32 \ compmgmt.msc / s)


T


Thank you in advance for any and all assistance. I''m building a technician''s
tool and I''m trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmatically. I have the majority of the program
files opening except the Microsoft Computer Management console.

I''ve tried in the button click event
Shell("C:\WINDOWS\system32\compmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael

解决方案

eSolTec wrote:

>Thank you in advance for any and all assistance. I''m building a technician''s
tool and I''m trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmatically. I have the majority of the program
files opening except the Microsoft Computer Management console.

I''ve tried in the button click event
Shell("C:\WINDOWS\system32\compmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael

Try this:

Shell("C:\WINDOWS\system32\compmgmt.msc /s")

T


or you could try using the Process Class

Dim proc as new Process
Dim procSI as new ProcessStartInfo("C:\WINDOWS\system32\compmgmt.msc /s")

proc.StartInfo = procSI
proc.Start()
that should work too
--
-iwdu15


T,

Thank you for the tip. I tried it and no success.

Michael

"tomb" wrote:

eSolTec wrote:

Thank you in advance for any and all assistance. I''m building a technician''s
tool and I''m trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmatically. I have the majority of the program
files opening except the Microsoft Computer Management console.

I''ve tried in the button click event
Shell("C:\WINDOWS\system32\compmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael

Try this:

Shell("C:\WINDOWS\system32\compmgmt.msc /s")

T


这篇关于以编程方式打开compmgmt.msc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆