In article <3A534BED.6FD372B7@ptb.de>,
franz.ahlers@ptb.de wrote:
> Try for service the name of the application (without .exe)
>
> "DDE Open Conversion.vi" requires a 'service' and a 'topic' as
inputs, "DDE
> Request.vi" (another VI from the DDE menu) requires an 'item' as
input. I
> think that the LinkTopic and LinkItem mentioned in your manual
correspond to
> these 'topic' and 'item' inputs. The 'service' probably is the name
of your
> application.
This is not quite right. The LinkTopic in VB is a combination of
the 'service' and 'topic' names, separated by |. Although the 'service'
may be the name of the application this is by convention only, an
application can use any service name it pleases.
> To give an example:
> I wrote a VI which per DDE reques
ts the value of a variable from the
program
> origin.exe, acting as the DDE server. In the VI first "DDE Open
> Conversion.vi" is called with service="ORIGIN" (the name off the app
without
> .exe) and topic="Variable". Then "DDE Request.vi" is called with
> item="name" where name of course is the actual name of the variable
queried
> from Origin.
>
> Franz
>
> Tobias FRITZ schrieb:
>
> > Hi!
> >
> > I want to estabish a DDE client to a given DDEserver on the same
> > computer. To connect the "DDE Open Conversion.vi" you have to
connect as
> > input the service and the topic.
> > In the manual of the DDEserver and in a visualbasic example the two
> > keywords which are given are called Linktopic and LinkItem. Are
these
> > different keywords (I think so because it doesn't work?
> > Are there possibilities to find out the correct service name?
> >
> > Many thanks in advance
> >
> > Tobias
>
>
--
Roger Abbott, RHA (Minisystems) Ltd - http://www.rhaminisys.com
DDE Client and Server A
ctiveX controls for Visual Basic
DDE FAQ and DDE utility tools, browser URL monitor,
Program launcher/setup menu, other freeware and shareware
Sent via Deja.com
http://www.deja.com/