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

StopHotLink – PB Docs 2021 – PowerBuilder Library

StopHotLink – PB Docs 2021

StopHotLink

PowerScript function

Description

Terminates a hot link with a DDE server application.

Caution

All arguments must match the arguments in an earlier StartHotLink
call.

Syntax

Argument

Description

location

A string whose value is the location at which you want to
end the hot link, as specified in the StartHotLink function that
established the link

applname

A string whose value is the DDE name of the server
application, as specified in the StartHotLink function

topic

A string identifying the data or the instance of the
application in which the hot link is stopped, as specified in
the StartHotLink function

Return value

Integer.

Returns 1 if it succeeds. If an error occurs, StopHotLink returns a
negative integer. Values are:

-1 — Link was not started

-2 — Request denied

-3 — Could not terminate server

If any argument’s value is null, StopHotLink returns null.

Examples

If another PowerBuilder application called StartServerDDE to
establish itself as a server using the name MyPBApp, then your application
can act as a DDE client and call StartHotLink to establish a hot link with
MyPBApp. The following statement ends that hot link. The values you
specify for location and topic depend on conventions established by
MyPBApp:

This statement stops the hot link with Microsoft Excel for row 1
column 2 in the spreadsheet REGION.XLS:

See also

StartHotLink


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