Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APP works fine, EXE doesnt run right
Message
 
 
To
26/01/1999 10:55:13
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00180265
Message ID:
00180268
Views:
19
>I am sure I am doing something dumb, but I have a small app that runs fine as an app in foxpro, but when I build it into an EXE and run it it launches and comes up to the first form and then closes before you can do anything.
>
>am I missing something here?

You need to create a wait state when you have an EXE. Create a main program and set it as "main" in the project manager. After doing all of your setup code and putting up a menu and then calling your first form, put in the statement

READ EVENTS

To exit the program you need to issue CLEAR EVENTS

Let me know if you need an example.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform