DDEConnect

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > PDMSystem >

DDEConnect

Description

Creates a connection with server <server name>, accessing the DDE topic <topic name>

Syntax

call DBWShell("DDEConnect ServerName TopicName ")

Parameters

ServerName

It is the DDE server to connect to.

TopicName

It is the DDE topic to access to.

 

Remarks

warningThe connection is active until the DDEDisconnect command has been called.

See also

DDEDisconnect command
DDESend command

DDE syntax and parameters for DBWorks StandAlone users

Example

DBWShell("DDEConnect DdeExec DrawRect")

if okDBW = true then
        DBWShell("DDESend " & replace("[pen(red)][line(0,0,50,50)]"," ","|") )
        DBWShell("DDEDisconnect")
end if