OpenStream method Opens
a stream in this storage.
Syntax:
Set strm = object.OpenStream( name [, SF_Flags])
Parameters:
name - the name of the stream to open.
SF_Flags - standard SF flags.
returned value: the opened stream
Examples:
Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
Set stg = sf.OpenStorageFile("C:\mystoragefile.stg")
Set strm = stg.OpenStream("mystream")
Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
Set stg = sf.OpenDirectory("C:\mydirectory")
Set strm = stg.OpenStream("myfile.txt")
Remarks:
This method opens only direct descendants of the storage. See also OpenSubStream.
Applies to: SFStorage object
|