www.icetips.com  Icetips Utilities Documentation 11/30/2010    

SetupBuilder Class: SetGlobalCSIDL

Previous  Top  Next  


Prototype: (Long pCSIDL)

 

pCSIDLThe CSIDL value to use

 

ReturnsThe 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:

GlobalCSIDL

PathString

Shell Class

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/setglobalcsidl_setupbuilder.htm