Consultor Eletrônico



Kbase P18496: Why does ProTools automatically start with AppBuilder in 9.1D?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

GOAL:

Why does ProTools automatically start with AppBuilder in 9.1d?

FACT(s) (Environment):

Windows
Progress 9.1D

CAUSE:

Progress added this feature by adding 4GL statement:

IF p_event = "Startup":U AND LOOKUP(p_product,"Editor,UIB":U) > 0 THEN
RUN protools/_protool.p PERSISTENT.

to the adecomm/_adeevnt.p procedure.

FIX:

The capability of automatically starting a procedure on the AppBuilder (UIB) startup is available through the modification of the adecomm/_adeevnt.p procedure.

In 9.1D Progress added the feature of auto starting ProTools on the start of the Application Builder.

To suppress this feature without having to modify the R-Code DLC\GUI\adecomm.pl library:

1) Create a subdirectory .\WRKDIR\adecomm. in the working directory

2) Use the PROLIB utility with the -yank parameter to extract a copy of the
_adeevnt.p file from the %DLC%\src\adecomm.pl library to .\WRKDIR\adecomm

3) Comment out the statement:

IF p_event = "Startup":U AND LOOKUP(p_product,"Editor,UIB":U) > 0 THEN
  RUN protools/_protool.p PERSISTENT.

4) Save the modified _adeevnt.p in .\WRKDIR\adecomm

5) Compile the program to r-code.