|
-
Dec 13th, 1999, 01:12 AM
#1
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
-
Dec 13th, 1999, 07:44 AM
#2
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.
-
Dec 13th, 1999, 11:10 PM
#3
communication on the same pc. can you give some examples?
-
Dec 13th, 1999, 11:20 PM
#4
Lively Member
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.
-
Dec 14th, 1999, 12:07 PM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|