Kbase P67987: Using OS-COMMAND SILENT to change desktop theme, user interf
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/02/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Using OS-COMMAND SILENT to run a command which changes the desktop theme of the computer
OS-COMMAND SILENT VALUE("c:\winnt\system32\themes.exe /s c:\cfs.theme")
Windows user interface locks up until Progress is terminated
CAUSE:
This is most likely caused by the fact that Progress is running the external program synchronously and could not react to the messages that the theme program is causing to be sent to all running applications. Basically it is a classic catch-22 situation.
FIX:
Change the OS-COMMAND statement to the following:
OS-COMMAND SILENT VALUE("cmd /c start c:\winnt\system32\themes.exe /s c:\cfs.theme").