DOS command in VB.net and WPF [modified]
-
Hi, Would you know how I do pass a command line with WPF (in VB.net)? In WindowsForm I used
Shell("cmd.exe /c mame -listxml >xmlout.xml", 0, True)
(the app. Name and parameters, show/hide window, wait or not for the task being completed) Unfortunately this line doens't work anymore in WPF What should I use to send a command line with parameters? Thanks very much for any kind help ;-)modified on Tuesday, April 5, 2011 3:47 AM
-
Hi, Would you know how I do pass a command line with WPF (in VB.net)? In WindowsForm I used
Shell("cmd.exe /c mame -listxml >xmlout.xml", 0, True)
(the app. Name and parameters, show/hide window, wait or not for the task being completed) Unfortunately this line doens't work anymore in WPF What should I use to send a command line with parameters? Thanks very much for any kind help ;-)modified on Tuesday, April 5, 2011 3:47 AM
You need to look into using Process.Start[^].
I'm not a stalker, I just know things. Oh by the way, you're out of milk.
Forgive your enemies - it messes with their heads