Opening a plink window from VB.NET application without showing the black ugly plink window

一曲冷凌霜 提交于 2019-12-01 10:42:56

Absolutely. See the instructions on dreamincode.net.

Basically, you want to hide the window, and redirect standard in/out.

Dim p as New Process
With p.StartInfo
    .WindowStyle=ProcessWindowStyle.Hidden
    .RedirectStandardOutput=true
    .RedirectStandardInput=true
End With

You can then read and write using p.StandardInput and [p.StandardOutput][3].

You can find more options to set as well in the ProcessStartInfo class.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!