GetSpecialFolder
Previous Top Next

Gets the path to one of the special folders.
Syntax: GetSpecialFolder (Folder As Int32) As String
Folder - One of the sf... values.
The sfWindows is not supported on Pocket PC 2000 / 2002 devices.

Example:
Sub App_Start
 hw.new1 'hw is a Hardware object.
 path = hw.GetSpecialFolder(hw.sfProgramFiles) 'Gets the path to the program files folder (usually \Program Files).
End Sub