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

DoVerb – PB Docs 150 – PowerBuilder Library

DoVerb – PB Docs 150

DoVerb PowerScript function

Description

Requests the OLE server application to execute the specified
verb for the OLE object in an OLE control or OLE DWObject.

Controls

OLE controls and OLE DWObjects (objects within a DataWindow
object that is within a DataWindow control)

Syntax

Argument

Description

objectref

The name of the OLE control or the fully
qualified name of a OLE DWObject within a DataWindow control for
which you want to execute a verb. The fully qualified name for a
DWObject has this syntax:

verb

An integer identifying a verb known to
the OLE server application. Verbs are operations that the server
can perform on the OLE object. Check the documentation for the server’s
OLE implementation to find out what verbs it supports.

Return Values

Integer. Returns 0 if it succeeds and
one of the following values if an error occurs:

  • -1 Container
    is empty

  • -2 Invalid verb for object

  • -3 Verb not implemented by object

  • -4 No verbs supported by object

  • -5 Object cannot execute verb now

  • -9 Other error

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

Examples

This example executes verb 7 for the object in the
OLE control ole_1:

This example executes verb 7 for the object in the
OLE DWObject ole_graph:

See Also


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