JavaScript Editor js editor     Web development 

Main Page

This class gives you the location of common system windows such as the My Documents folder and the Application Data folder. These are commonly needed in applications that provide Windows 2000 Logo compliancy. See SHGetFolderPath in MSDN for more details.

Category System Utilities

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Utilities



Base Class


Class Library


Parent Class





To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class icon on the form. You can specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.

Properties, Events, Methods Description

GetFolder method

Returns path to specified system folder.

Syntax: GetFolder(nFolderID, lCreateNew)

Return: name of folder


nFolderID ID reference to the folder. Refer to the class method for common IDs as specified in SHGetFolderPath in MSDN.

lCreateNew specifies whether to create folder when one does not exist

See Also

JavaScript Editor js editor     Web development