I have two applications here, one Windows Form Application and another Console Application.
I want the windows application to send,
"1"
"2"
"3"
"4"
"5"
"6"
"7"
And then the console application should receive them in,
Dim str1 as string = "1"
Dim str2 as string = "2"
Dim str3 as string = "3"
Dim str4 as string = "4"
Dim str5 as string = "5"
Dim str6 as string = "6"
Dim str7 as string = "7"
I found this code,
Dim str as stirng = Command()
and from windows application,
Process.Start("my path to console app.exe", "the text")
This works but only one parameter is passed. I know I can use Split Functions and split them out in console if I send all string together with a character in between but is there a way for me to send all of it one by one ?
I want to star the console app, wait till it is terminated and then continue the process.