Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executable opens then closes
Message
From
15/01/2007 03:03:00
 
 
To
15/01/2007 02:54:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01185529
Message ID:
01185545
Views:
9
This message has been marked as the solution to the initial question of the thread.
>Ok so since I have only 2 forms in my programs, I placed the read events in my main form's init().
>
>The program then hangs when run using the exe. It doesn't even show the main form.
>
>What's wrong?

AFAIK you can NOT have the read events in the form itself, it has to be in the program that calls the form the first time. In your project you must have a "master" program which must be set to Main (right-click the program in the project manager, and mark Set to main). This "master" program must have at lest two line:
Do form yourform
Read events
Previous
Reply
Map
View

Click here to load this message in the networking platform