代码运行放大镜vb

时间:2015-01-17 19:23:45

标签: vb.net

this is the code I have System . Diagnostics . Process . Start(("magnify"))

我想在vb中创建一个加载放大镜的按钮。

但是使用上面的代码,它只是调用设置。 我已经查阅了YouTube上的所有内容,没有找到任何用于从视觉基本加载系统放大镜,大多数我找到的放大镜,是如何创建放大镜,

1 个答案:

答案 0 :(得分:1)

您只需要从System32文件夹中打开该进程。

以下是打开放大镜的方法:

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    Dim MagnifyPath As String = IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "Magnify.exe")
    Process.Start(MagnifyPath)
End Sub