>IF TYPE('oWizard313') = 'O' AND oWizard313.WINDOWSTATE # 1 OR TYPE('oWizard313') = 'U' > IF NOT oMainForm.VISIBLE > oMainForm.SHOW > ENDIF >ENDIF >>When the minimize button is clicked, it does pretty much what it's supposed to do when run from within VFP, but the exe does not seem to catch on to the altered windowstate.