Open – PB Docs 2017

Open

PowerScript function

Opens a window, an OLE object, or a trace file.

For windows

Open displays a window and makes all its properties and controls
available to scripts.

To

Use

Open an instance of a particular window
datatype

Syntax 1

Allow the application to select the window’s datatype
when the script is executed

Syntax 2

For OLE objects

Open loads an OLE object contained in a file or storage into an OLE
control or storage object variable. The source and the target are then
connected for the purposes of saving work.

To open

Use

An OLE object in a file and load it into an OLE
control

Syntax 3

An OLE object in a storage object in memory and load
it into an OLE control

Syntax 4

An OLE object in an OLE storage file and load it into
a storage object in memory

Syntax 5

An OLE object that is a member of an open OLE storage
and load it into a storage object in memory

Syntax 6

A stream in an OLE storage object in memory and load
it into a stream object

Syntax 7

For trace files

Open opens the specified trace file for reading.

To

Use

Open a trace file

Syntax 8


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