"C:\Program Files\TIES\Proposal.NET\HMSCCURV.exe" C:\1-28903T.TI C:\1-28903T.TO
everything works correctly. When the oProcess.Start() statement from my application shown below executes, I receive an error message stating "The parameter is incorrect":
Expand|Select|Wrap|Line Numbers
- ' Previously established varaible values used in the code below:
- calString = "C:\Program Files\TIES\Proposal.NET\HMSCCURV.EXE"
- calFile = "C:\1-28903T.T"
- ' Set the process properties and start the external program.
- Dim argString As String = calFile & "I " & calFile & "O"
- Dim oProcess As New Process()
- oProcess.StartInfo.FileName = calString
- oProcess.StartInfo.Arguments = argString
- oProcess.StartInfo.CreateNoWindow = True
- oProcess.StartInfo.UseShellExecute = True
- oProcess.Start()
Any suggestions?
Thanks,
Michael Bailey