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

OLEStream object – PB Docs 2019 – PowerBuilder Library

OLEStream object – PB Docs 2019

OLEStream object

The OLEStream object acts as a proxy for an OLE stream.

You can customize your own version of the OLEStream object by
defining a class user object inherited from the built-in OLEStream
object.

For more information about creating a custom OLEStream object, see
the section called “Working with User Objects” in Users Guide.

For more information about using the OLEStream object in an
application, see the section called “Using OLE in an Application” in Application Techniques.

Properties

OLEStream property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing
information about the class definition of the object or
control.

Name

String

Specifies the member name of the stream within its
parent storage.

Storage

OMStorage

(Read-only) Specifies the storage containing the
stream. Streams are always opened from within an OLEStorage
object.

Events

OLEStream event

Occurs

Constructor

When the user object is created.

Destructor

When the user object is destroyed.

Functions

OLEStream function

Datatype returned

Description

ClassName

String

Returns the name assigned to the user
object.

Close

Integer

Releases any stream previously
opened.

GetContextService

Integer

Creates a reference to a context-specific instance
of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent
object.

Length

Integer

Obtains the length of the open
stream.

Open

Integer

Opens the specified stream from the
storage.

PostEvent

Boolean

Adds an event to the end of the message queue of
the user object.

Read

Integer

Reads from the stream.

Seek

Integer

Moves within the stream.

TriggerEvent

Integer

Sends an event to the user object and executes the
script associated with the event.

TypeOf

Object

Returns the type of the user object.

Write

Long

Writes to the stream.


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