Open
PowerScript function
Contents
- Syntax 1: For windows of a known datatype
- Syntax 2: For windows of unknown datatype
- Syntax 3: For loading an OLE object from a file into a
control - Syntax 4: For opening an OLE object in memory into a
control - Syntax 5: For opening an OLE object in a file into an
OLEStorage - Syntax 6: For opening an OLE storage member into a
storage - Syntax 7: For opening OLE streams
- Syntax 8: For opening trace files
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.
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 |
|
An OLE object in a storage object in memory and load |
|
An OLE object in an OLE storage file and load it into |
|
An OLE object that is a member of an open OLE storage |
|
A stream in an OLE storage object in memory and load |
For trace files
Open opens the specified trace file for reading.
To |
Use |
---|---|
Open a trace file |