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

Syntax 4 For opening an OLE object in memory into a control – PB Docs 125 – PowerBuilder Library

Syntax 4 For opening an OLE object in memory into a control – PB Docs 125

Syntax 4 For opening an OLE object in memory into a control

Description

Opens an OLE object that is in a OLE storage object in memory
and loads it into an OLE control.

Controls

OLE controls

Syntax

Argument

Description

olecontrol

The name of the OLE control into which
you want to load an OLE object

sourcestorage

The name of an object variable of OLEStorage
containing the object you want to load into olecontrol

substoragename

A string specifying the name of a substorage
that contains the desired object within storagename

Return Values

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

  • -2 The parent storage
    is not open

  • -9 Other error

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

Examples

This example opens the object in the substorage excel_obj
within the storage variable stg_stuff and
loads it into the control ole_1. Olest_stuff is
already open:

This example opens a substorage in the storage variable stg_stuff and
loads it into the control ole_1. The
substorage name is specified in the variable stuff_1. Olest_stuff is
already open:

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