>You must have Read Events statement somewhere (see VFP help) or your startup form must be modal.
=============================================================
Yeessss...thanks Plamen.
That was the answer. The property of the form had to be Window Type = 1 (Modal)
It now works fine in both .APP and .EXE
But I have this VFP window behind. How can I get rid of that?