DDE in Networks

DDE in Networks

Post by e8952.. » Wed, 08 May 1996 04:00:00



Does anybody know how to use DDE in LAN's ?
I can do it on one computer, but I don't know how to use it in a
network. I tried it, but the server won't find the client.

 
 
 

DDE in Networks

Post by Michel Marini » Thu, 09 May 1996 04:00:00



>Does anybody know how to use DDE in LAN's ?
>I can do it on one computer, but I don't know how to use it in a
>network. I tried it, but the server won't find the client.

DDE is not meant to work on a network, but within the confines of a
single Windows session on a single machine. Would be nice if you
could, or even just send Windows WM_XXX messages to another Window
session on the LAN!

Not knowing why you want to do it, I dare suggest the following:

If you don't mind the hack involved, you could use text files for
messaging, where your VB app. on machine A writes a DDE command (or
anything else) as a string to a text file in a predetermined
directory, and a companion app. on machine B polls that directory at
interval to read the text file and execute it as a DDE command (or
whatever).

Sorry. That's not too brilliant, but it could work.

 
 
 

DDE in Networks

Post by Joe Foster of Bo » Sat, 11 May 1996 04:00:00




> >Does anybody know how to use DDE in LAN's ?
> >I can do it on one computer, but I don't know how to use it in a
> >network. I tried it, but the server won't find the client.
> DDE is not meant to work on a network, but within the confines of a
> single Windows session on a single machine. Would be nice if you
> could, or even just send Windows WM_XXX messages to another Window
> session on the LAN!

Wrong, wrong, wrong. Ever hear of NetDDE? It's how
WinChat works. Look up Network DDE in the KB.

[description of horrible hack sent to bit Hell]

--

WARNING: I cannot be held responsible for the above        They're   coming  to
because  my cats have  apparently  learned to type.        take me away, ha ha!

 
 
 

DDE in Networks

Post by Phil Teebo » Fri, 17 May 1996 04:00:00



>Does anybody know how to use DDE in LAN's ?
>I can do it on one computer, but I don't know how to use it in a
>network. I tried it, but the server won't find the client.

Its simple.. Just read the microsoft knoledge base file that comes
with VB 3.0. There is a section on DDE including network DDE.
There is a dll called NETDDE.DLL or something that is used. Once the
source application has set the link up it is extremely easy to connect
from the 2nd computer. Simply pass the source computers net address
and normal dde stuff and the link is up and running.