Storages & Files OpenDirectory
OpenDirectory method

Opens a directory in the machine's file system and returns a SFStorage object for it.


Set stg = object.OpenDirectory(path [, SF_Flags])


path - String. Contains the path for the directory to be opened.
SF_Flags - Standard SF Flags (optional)

Returns: a SFStorage object for the created directory.


Dim main, dir
Set main = OpenObject("newObjects.utilctls.SFMain")
Set dir = main.OpenDirectory("C:\ExistingDir")


This method is for the file system only. To open a "virtual storage" in other storage use its OpenStorage method.

Applies to: SFMain object

See also: Standard SF Flags, SFStorage, OpenStorage

Supported on:

Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later


newObjects Copyright 2001-2006 newObjects [ ]