DDESend

<< Click to Display Table of Contents >>

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

DDESend

Description

Send to the current connection the command assigned in <command string>

Syntax

call DBWShell("DDESend CommandString")

Parameters

command_string

It is the command to send to the active connection.

Remarks

warningIf any space is present in command string, it must be coded using the replace(...," ","|") function.

A connection must have been opened before sending commands.

See also

DDEConnect command
DDEDisconnect 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