Consultor Eletrônico



Kbase P6660: Using the INPUT THROUGH statement causes a DOS-box to appear.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/01/2010
Status: Verified

SYMPTOM(s):

Using the INPUT THROUGH statement causes a DOS-box to appear.

The following code shows the problem:

DEF VAR z AS CHAR.
INPUT THROUGH VALUE("DIR").
SET z.
INPUT CLOSE.

FACT(s) (Environment):

Windows 32 Intel
Windows NT 32 Intel/Windows 2000
Progress 8.x
Progress 9.x
OpenEdge 10.x

CAUSE:

Bug# 19960610-011

CAUSE:

This issue is a result of MS Windows behavior. For every new process, the MS Windows OS creates a new window.

FIX:

The way to suppress the created unwanted window from appearing on screen is by using MS Windows settings to change the console window default position to outside of the desktop. There is no way from Progress to make this window not to appear.