|
Previous Top Next |
Prototype: | (Long pCSIDL) |
pCSIDL | The CSIDL value to use |
Returns | The method does not return a value |
This method constructs a path name based on the CSIDL passed to it and the PathString property using the GetSpecialFolder method of the Shell Class. The CSIDL value is stored in the GlobalCSIDL property.
Example:
GetGlobalPath ROUTINE
Get(SFQ,Choice(?Loc:GlobalCSIDL))
ITS.SetPathString(Loc:PartialPath)
ITS.SetGlobalCSIDL(SFQ.FolderIDValue)
Loc:GlobalCSIDLNumber = SFQ.FolderIDValue
Loc:GlobalPath = ITS.GetGlobalPath()
Loc:GlobalKey = 'HKLM:\' & ITS.GetGlobalKey()
Display()
See also: