StrataFrame Forum
Home
»
.NET Forums
»
General .NET Discussion
Executing an external program...
http://forum.strataframe.net/Topic6826.aspx
By StarkMike
-
2/15/2007
How would I start an external program (like notepad) from within visual basic .net and then wait for notepad to be closed before resuming execution?
The link I'm providing used to be the good ole way to do it in VB6.
http://support.microsoft.com/kb/129796
Any ideas?
By Trent L. Taylor
-
2/15/2007
Dim loProcess As System.Diagnostics.Process
loProcess = System.Diagnostics.Process.Start("notepad.exe")
loProcess.WaitForExit()