VB.net Application Talking to Another
Posted on 2011-03-24
I have a situation where I have a third part provided application that can launch programs passing data from the UI screens to it as parameters. They have no other way to interact with data so this is what I have to use.
I have an application that is launched with the passed data on teh command line and it does its thing. The problem is I need a way to have a sort of "controller" application that will detect if the application is already open.. and if it is send the new info to the application so it can accept the new data. I dont want to close and reopen the application I prefer to just pass the new information and have the application change to this new data.
So what I need is to develop a calling application that will check to see if the app is open.. if it is not then open passing my info. If it is open I need to have this caller send this info to the currently running process and have that appilcation act on the new data.
Can anyone direct me here... is this WCF, sockets, or is there a much easier way to go about doing this? I have considered just using the registry as a staging ground and have it check every x ms and do something if the value changes.. sort of crappy idea though.