Good Day Experts!
I am not sure how to accomplish the end task for my project. I am calling an exe using the following code from a testing project which will mimic calling from a current production project.
Dim pHelp as New ProcessStartInfo
phelp.FileName = "C:\Testing\WindowsApplication5.exe"
pHelp.Arguments = "44070,44145,21"
pHelp.UseShellExecute = False
pHelp.WindowsStyle = ProcessWindowStyle.Normal
Dim proc as Process = Process.Start(Help)
The exe produces the mileage between 2 zipcodes. I have the mileage showing in a messagebox coded in the exe.
The trouble I have now is that I cannot figure out how to get that mileage returned back to my calling testing project.
The code from the exe is contained in Sub Main() within Module MainMod.
Can you offer any suggestions?
Thanks for the help,