>I have weird problem that has just popped up. When running my program( or any of the fomrs on their own) inside vfp 7.0 everything seems fine. But when I compile the .exe and run it on its own. It runs, opens up the first form and then shuts down. I've made no changes to the form I just recompiled them after making a change to a database and the problem started. I've run in circles enough help please.
You need a so called "main" program that opens your forms when you build an exe.
do myform
read events
close all
release all
cancel
Review the CLEAR EVENTS syntax. When your application encounters a clear event, the code after READ EVENTS is executed.
Imagination is more important than knowledge