>I added a command line switch to hide the execution
>of the program(_vfp.Visible = .F.) but I got 2 problems:
>
>1. The Wait Window still display
> I could patch that the hard way with my own wait function
>
>2. The program will stay in memory after execution.
>I tried running with _vfp.Visible = .T. and it closed
>correctly. That was the only changed made.
>
>_vfp.Visible = .F. is in the first lines of the main .prg
>
>Any ideas?
Steve,
1) You could set window of wait to an off screen position.
2) You don't need visible=.f. in code (and actually not the recommend way). Instead have:
screen=off
in config.fpw
I don't know why visible = .t. cure it. I suspect a modal state but not sure.
PS: Are you sure in both cases you just start the exe and do not touch kb/mouse.
Cetin