G
Garrett
Hi all, I am trying to run calc from the command line using a Process.
I am clearly missing something obvious here because the command line
opens but the "Calc" arg never executes...code below...thanks.
Module Module1
Sub Main()
Dim proc As New Process()
Dim info as ProcessStartInfo = new ProcessStartInfo("cmd.exe",
"calc")
proc.StartInfo = info
proc.EnableRaisingEvents = true
proc.Start()
proc.WaitForExit()
End Sub
End Module
I am clearly missing something obvious here because the command line
opens but the "Calc" arg never executes...code below...thanks.
Module Module1
Sub Main()
Dim proc As New Process()
Dim info as ProcessStartInfo = new ProcessStartInfo("cmd.exe",
"calc")
proc.StartInfo = info
proc.EnableRaisingEvents = true
proc.Start()
proc.WaitForExit()
End Sub
End Module