GetSpecialFolderLocation

<< Click to Display Table of Contents >>

Navigation:  Miscellaneous functions and statements >

GetSpecialFolderLocation

Description

This function retrieves the full path of a known folder identified by the folder's CSIDL.

Syntax

GetOpenFileName(CSIDL)

 

Some values for CSIDL:
 

CSIDL_APPDATA = &H1A          ' Application data for the current user

CSIDL_COMMON_APPDATA = &H23   ' Application data for all users.

CSIDL_PROGRAM_FILES = &H26    'Program Files folder

CSIDL_COMMON_DOCUMENTS = &H23 ' Documents that are common to all users

Remark

Added in version 4.40