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

 

Fetches one of the following Application properties:

NAME: Returns a string containing the application's name in the Value parameter. For example "QPR ScoreCard Development 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\ScoreCard\QPR.SC.Client.exe"

 

Synopsis:

 

SCApplication.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_NOT_CONNECTED_TO_SERVER

RV_NOT_AUTHENTICATED

RV_SUCCESS

RV_INVALID_PARAMETER

 

Example Procedure:

 

iRet = SCApplication.GetProperty(NAME, ApplicationName)

 

 

Comments (...)