Karolis
Karolis

Reputation: 89

VB.net Cross Process Communication

My target is somehow notify application (Process 1) from another application (Process 2). Would be best if i be able to pass parameters to Process 1.

I googled it and most results was for C# or libraries (witch i don't want).

Upvotes: 0

Views: 169

Answers (1)

inquisitive
inquisitive

Reputation: 3649

Named pipes would suffice for this. The idea is to make the startup process a named pipe server. The server always listens at a fixed address which can be taken as a file name. The manually started process then connects to the server and does the communication. The connection and communication part is as simple as writing in a text file.

Ask if you need code, but I recommend you look up the concepts on google. Search for dot Net named pipe server client.

Upvotes: 1

Related Questions