Maptitude GISDK Help

SendProgramMessage()

Summary

Sends a DDE Execute message to another Windows program.

 

Syntax

SendProgramMessage(array specification)

 

Element Type Contents
1 String The DDE service name on which SendProgramMessage() establishes a connection
2 String The DDE topic on which SendProgramMessage() establishes a conversation
3 String The DDE item sent as the data element in the DDE execute message to the other program
4 Boolean Whether SendProgramMessage() waits for the other program to process the message or returns immediately

 

Example

SendProgramMessage({"WinWord", "System",

     "[FileOpen .Name = \"mydoc.doc\"]", "True"})

 

Error Codes

Error Type Meaning
NotFound There is no program responding to the specified service name
Error There is a problem connecting to the other program

 

See Also

Function Summary
LaunchProgram() Starts a Windows program
RunProgram() Runs a DOS executable program
SendProgramRequest() Sends a DDE Request message to another Windows program
CallDllFunction() Calls a function in a Dynamic Link Library (DLL)

 

 

©2025 Caliper Corporation www.caliper.com