Diane,
By ugly, are you talking about the screen around the form?
To get rid the screen area behind the form, put the following line in a config.fpw file; put the file in the same directory as the .exe:
SCREEN=OFF
Set the form's WindowType property to modeless, and ShowWindow to "As Top-Level Form."
HTH,
steve
>Hi all,
> I would like to create an executable of a simple project containing only one form in vfp6 sp5. When i do so, the form opens and close automaticaly when i run the executable. When I add a code module containing
>
>DO FORM myForm
>READ EVENTS
>
>and I set it to main, it works but it is kind of ugly. I would like to know if there is a way to do it without having to add a code module (if yes, how)(if not, how to set the program to run in maximized mode.)
>
>Thank you all
Steve Gibson