>I have a simple program that consists of a primary form which can call two others as well a run an import program when the user dictates. My problem is that when I create/compile the executable and run it, the program pops up on the screen for a second and disappears. I have the form set as Modal and have in fact tried it both ways. I also expiramented with hiding the VFP main window using 'application.visible = .F.' but it was to no avail. When I try to run the form and or the whole project from within the development environment it works fine but when I compile the executable it just pops up and goes away.
You need to do a read events after calling your form from the main program.
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com