A helper method - creates a stream in depth.
Set strm = object.CreateSubStream( path [, SF_Flags])
path - relative path of the sub-stream. For example: "substorage1\substorage2\stream1".
SF_Flags - the standard SF flags.
returned value: the created stream (SFStream object for it).
Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
Set stg = sf.OpenStorageFile("C:\mystoragefile.stg")
Set strm = stg.CreateSubStream("substorage\substorage2\stream")
This method is most likely useful for non-file system storages (OLE
files or external implementations). It allows the application to
create a stream directly by passing a string containing relative path to it
in abstract notation. Of course the method can be used with every
storage including directories.
path string - is abstract storage path very similar to the
directory paths in the file system. The "\" or "/"
delimiters can be used to separate the names of the storages in it.
For example "a\b\c" will mean the item "c" in the
storage "b" which is in turn in the storage "a".
The virtual root is the storage whose member is called.
Limitations: The basic features supported by
all the storages cause some limitations - the path to the sub-item
should be accessible which means no storage in the path must be locked
for exclusive use in order method to work correctly. The method
requires read access to all the storages specified in the path string.
Applies to: SFStorage object
See also: OpenSubStream