>Hi,
>
>I have built an executable file from VFP6 and the form was set with ShowWindow = 2 (As a top-level form). When I ran the executable the program start and shut off immediately. Why? Do I need a "Read Event" and "Clear Event" somewhere? Any help and suggestions is appreciated.
You will definitely need a READ EVENTS at the point in your code when you are ready for the user to begin interacting with the application. Different developers place the command at different places, but you'll need to get all your initialization done, menus in place, etc., then issue the READ EVENTS. You must also place functionality ( in a button, menu choice, etc. ) that will execute CLEAR EVENTS when the user is erady to exit the application.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.