Consultor Eletrônico



Kbase P127114: How to get DLC setting from 4GL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/11/2007
Status: Unverified

GOAL:

How to get DLC setting from 4GL

GOAL:

How to retrieve DLC setting from Windows Registry used in the session from 4GL

FACT(s) (Environment):

Windows
Progress 9.x
OpenEdge 10.x

FIX:

Use GET-KEY-VALUE.

The sample code below shows how to set a variable with the value of the DLC setting

DEFINE VARIABLE dlcValue AS CHARACTER NO-UNDO.
GET-KEY-VALUE SECTION "Startup":U KEY "DLC":U VALUE dlcValue.
DISP dlcvalue.