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 3 For loading an OLE object from a file into a control – PB Docs 150 – PowerBuilder Library

Syntax 3 For loading an OLE object from a file into a control – PB Docs 150

Syntax 3 For loading an OLE object from a file into a control

Description

Opens an OLE object in a file 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.

OLEsourcefile

A string specifying the name of an OLE
storage file containing the object. The file must already exist
and contain an OLE object. OLEsourcefile can
include a path for the file, as well as path information inside
the OLE storage.

Return Values

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

  • -1 The file is not
    found or its data has an invalid format

  • -9 Other error

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

Examples

This example opens the object in the file MYSTUFF.OLE and
loads it into in the control ole_1:

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