shell在vb.net中 [英] Shell in vb.net

查看:100
本文介绍了shell在vb.net中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将(shell" apppath",vbhide)从vb 6.0转换为vb.net 2017 

How to convert (shell "apppath",vbhide) from vb 6.0 to vb.net 2017 

推荐答案

您好,

使用以下内容。

Dim startInfo As New ProcessStartInfo("some.exe")
startInfo.WindowStyle = ProcessWindowStyle.Hidden

Process.Start(startInfo)

例如路径和exe在应用程序路径中的示例。

For example example for path and exe in the application path.

Dim fileName As String = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,"Some.exe")


这篇关于shell在vb.net中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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