Hi,
is there a way to let two programs communicate with each other?
e.g. the one program sends a message to the other to refresh himself and the like.
-w
Printable View
Hi,
is there a way to let two programs communicate with each other?
e.g. the one program sends a message to the other to refresh himself and the like.
-w
On the same pc, you can send windows messages (even ones you define) usually beginning with "WM_". Across a network (or on the same pc) you can use sockets. Winsock is a poor implementation of a socket, but there's your solution. Or the Internet Transfer control (Inet).
Check the Internet (or General) forum or search for SendMessage or PostMessage API's.
communication on the same pc. can you give some examples?
Have a look at raising & sinking events in VB, you could create an ActiveX exe with a singleton class which both programs connect to thus enabling communication. If you are really stuck I can do up an example.
please post an example