QPR Knowledge Base

GetProperty

Hide Navigation Pane

GetProperty

Previous topic Next topic No expanding text in this topic  

GetProperty

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 7.3.1

Last changed in QPR 8.1 SP3

 

Fetches one of the following Application properties:

NAME: Returns a string containing the application's name in the Value parameter. For example "QPR ProcessGuide Client".
VERSION: Returns full version as a string. For instance "7.3.1.27".
EXEPATH: EXE file's full path as a string, e.g. "C:\Program Files\QPR 8\ProcessGuide\QPR.PG.Client.exe"
ACTIVATIONCODE: Returns the product activation code used for activating the application.

 

Synopsis:

 

PGApplication.GetProperty(PropertyName, out Value)

 

Parameters:

 

PropertyName: String. One of the three properties described above.

out Value: Variant. Variant for the returned value.

 

Required Rights:

 

None.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_APPLICATION_QUIT_CALLED

RV_SUCCESS

RV_INVALID_PARAMETER

 

Example Procedure:

 

iRet = PGApplication.GetProperty("NAME", ApplicationName)

 

 

Comments (...)