Problem With DDE Between 2 Machines Using VB6

I have program A running on the server machine and program B running on the client machine.  I set up a DDE link from B to A and the Text1.LinkRequest call is successful, so I know the link is made.  However, when I do a Text1.LinkPoke also from B to A, I get an Error 282, "No foreign application responded to a DDE initiate".  Any idea how to get LinkPoke going?

Both machines are running XP Pro and are networked within a workgroup.
limvaAsked:
Who is Participating?
 
SmallintCommented:
As far i know DDE can exchage data between applications within a machine, but is not for exchange data between machines.

Take a look here...

http://www.vb-helper.com/howto_dde.html

Cheers
0
 
limvaAuthor Commented:
Thanks for your comment, Smallint.  DDE can be made between 2 machines: http://support.microsoft.com/kb/q181946/.  The problem with the example given on the Microsoft site is it only has LinkRequest, nothing on LinkPoke, so I don't know if LinkPoke is possible between 2 machines, like LinkRequest.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
SmallintCommented:
Well, seems clear you are right. :o)

Take a look at

http://Q_10099866.html

may be is helpful.

Anyway... why are you using a technology from 16 bit ages? I would not recommend it in any case. Better go for a solution based on winsock control.

Cheers
0
 
limvaAuthor Commented:
You may be right.  Could you please post the link again?  It is taking me nowhere.  Thanks!
0
 
limvaAuthor Commented:
I've switched to using the winsock control instead.  It's simpler.  The only thing is DDE is flexible enough to allow one to communicate with other programs such as MS Word and MS Excel, even on a different PC on the network.  I don't know if winsock does that also.  Luckily, I only have to get 2 programs (both written by me) on 2 machines on the network to talk to each other, so I don't have to mess with other programs. Thanks Smallint!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.