I am trying to resolve some communication problems. That is set up some inter-program communication and do not know how to do it. I have a class library with a COMClass in it. A third party app invokes this class library and it in turn executes a vb.net windows app (EXE) passing command arguments to it.
The windows app can be a console app. What it does does not have to have a gui. It does need to send one byte back to the calling program (in a string variable). How? Use this scenerio to reply and provide code snippets where necessary for Calling and Called programs
1. The only function of the called program is to send the letter "Y" back to the calling program.
2. The only functions of the calling program is to execute the called program and to receive the "Y" from the called program.
Calling Program:ClassLibrary1, ComClass = Call_it
Called program = Prog2
lPid = Shell(strPath & "Prog2.exe", vbNormalFocus)
I have no trouble calling the program... How do I get the "Y" back to the calling program??
This is worth a million points to me but 500 is all that it will be