Basic commands that normally present in a main program of VFP is:
SET commands here
APPLICATION.VISIBLE = .T. && If your config.fpw have SCREEN = OFF
DO FORM mymainform
READ EVENTS
CLEAR ALL
CLOSE ALL
>Hello!
>
>I'm working on a VFP6 project, and I'm having a little trouble when I build the .EXE file for it.
>
>During development, the project runs fine. But when I try to run the EXE that was built, the project starts to draw for a quick second, but then immediately closes itself.
>
>I have read the FAQ on this site, and it explains the problem with FPW2.6. Some sort of "Foundation Read" problem. I have tried the code listed there, but it does not seem to work with VFP6. The form does stay on the screen, but it's "Locked up", meaning i can't press any of the buttons, and the program is in some sort of infinite loop.
>
>Does anybody have any suggestions?
>
>Thanks!
>-WD
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."