Maptitude GISDK Help

SendProgramRequest()

Summary

Sends a DDE Request message to another Windows program.

 

Syntax

result = SendProgramRequest(array specification)

 

Element

Type

Contents

1

String

The DDE service name on which SendProgramRequest() establishes a connection

2

String

The DDE topic on which SendProgramRequest() establishes a conversation

3

String

The DDE item requested in the DDE Request message to the other program

4

Real

The length of time (in seconds) that SendProgramMessage() waits for the other program to respond before returning with an error (timing out).

 

Returns

The result (string) returned from the DDE Request message.

 

Example

SendProgramRequest({"WinWord", "mydoc.doc", "bookmark1", 10})

 

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

SendProgramMessage()

Sends a DDE Execute message to another Windows program

CallDllFunction()

Calls a function in a Dynamic Link Library (DLL)

 

 

©2025 Caliper Corporation www.caliper.com