Scott,
I just tested this configuration and it should work.
Check to make sure the ShowWindow property is not set to 2 - As Top-level Form. If it is, VFP coerces the WindowType property to non-modal (modeless) as the form instantiates.
Something else that may be happening is that the EXE may not be able to find the VFP run time libraries. Make sure they are in your system path. Some have had success copying the files into the System (Win9X) or System32 (NT) directory.
HTH.
>I know this is a newbie question but I've never figured this out!
>
>I'm trying to create a new utility .exe that just has a form in it. I set the forms Modal property to .t. and the Desktop property to .t.
>
>I set the form as the main and then build the exe. If I run the form from within foxpro it works great BUT
>
>running the .exe from explorer just blinks something by on the screen and that's it.
>
>I even tried making a little program (that i set to main) that did:
>do form foo
>read events
>
>but that did the same thing!!
>
>
>Thanks,
>
>Scott
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao