Skip to content

psProgram - cApplication

The name of the program

Type: Property
Access: Read/Write
Data Type: String
Parameters: None

Syntax

Property String psProgram
Access Type Syntax
Read Access: Get psProgram to StringVariable
Write Access: Set psProgram to StringVariable/Value

Description

psProgram is the name of the program. Whenever the program needs to access the Registry, it uses a combination of the psCompany, psProduct, psVersion and psProgram properties to determine the key name that should be accessed. The four values are added together to form the key. For example, if:

psCompany = "ABC, Inc" psProduct = "Payroll" psVersion = "1.0" psProgram = "People"

then the key that would be accessed would be:

HKEY_CURRENT_USER\Software\ABC, Inc\Payroll\1.0\People

Col 1 Col 2
Note: If you do not set this property, it will automatically be set to the name of the compiled program (as returned by Module_Name) of the Desktop object. You should only set this property to a descriptive name of the program if you don't want to use the name of the program.