|
Previous Top Next |
Prototype: | (String pPathString) |
pPathString | Partial path to add to Global and Local folders as well as registry key |
Returns | The method does not return a value. |
This method assigns the pPathString parameter value to the PathString property. It also constructs the SBGlobalRegistryKey and SBLocalRegistryKey properties from the PathString. Finally it assigns the appropriate HKCU registry key to the FilesCopied property indicating if the files have been copied to the local folder for the current user or not.
Example:
GetLocalPath ROUTINE
Get(SFQ,Choice(?Loc:LocalCSIDL))
ITS.SetPathString(Loc:PartialPath)
ITS.SetLocalCSIDL(SFQ.FolderIDValue)
Loc:LocalPath = ITS.GetLocalPath()
Loc:LocalKey = 'HKCU:\' & ITS.GetLocalKey()
Loc:LocalCSIDLNumber = SFQ.FolderIDValue
Display()
See also: