I start a process using the following code;
Public pro As New System.Diagnostics.Process()
Public proMRDCL As Process
pro.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
pro.StartInfo.FileName = strMYPATH & "QBExports\QBmrdclEX.stp"
proMRDCL = System.Diagnostics.Process.Start(pro.StartInfo)
What I want to do is send a character return to the process and then wait for the process to finish before killing it and my program carrying on running.
Can this be done?