Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetCommandDDEOrigin – PB Docs 2021 – PowerBuilder Library

GetCommandDDEOrigin – PB Docs 2021

GetCommandDDEOrigin

PowerScript function

Description

When called by the DDE server application, obtains the application
name parameter used by the DDE client sending the command.

Syntax

Argument

Description

applstring

A string variable in which GetCommandDDEOrigin will store
the name of the server application

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs (such as the
function was called in the wrong context). If applstring is null,
GetCommandDDEOrigin returns null.

Usage

The server application calling this function can use the application
name (its own DDEname) to determine if it wants to respond to this
command. Otherwise, the function provides no additional information about
the client.

Examples

This script uses the local variable ls_name to store the name the
client application used to identify the server application:

See also

GetCommandDDE

StartServerDDE

StopServerDDE


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x