[求助]VB.NET隐藏进程的窗口问题
请看代码:
Dim process1 As Process = New Process process1.StartInfo.UseShellExecute = False process1.StartInfo.RedirectStandardInput = True process1.StartInfo.RedirectStandardOutput = True process1.StartInfo.RedirectStandardError = True process1.StartInfo.FileName = "cmd.exe" process1.StartInfo.WindowStyle = ProcessWindowStyle.Hidden process1.Start()
reader1 = process1.StandardOutput writer1 = process1.StandardInput readerErr1 = process1.StandardError
为什么不能隐藏 cmd 进程的窗口? 应该怎样写才能隐藏呢? 先谢了!!