Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE file works ok within VFP7.0 but it doesn't outsid
Message
From
26/10/2002 17:54:52
 
 
To
26/10/2002 17:47:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00715811
Message ID:
00715817
Views:
13
>>Thanks for your answer Hilmar. I use the instruction READ EVENTs in the GENERAL OPTIONS-CLEANUP of the Main Menu which is defined as my Main Program.
>>
>>The Command Window appears after executing the program from within VFP.
>
>That indicates a problem: you should only return to the Command Window after execution of your program finishes completely.
>
>READ EVENTS is supposed to stop your program at the specified place until you decided it is time to quit (with CLEAR EVENTS).
>
>Debug to see whether your READ EVENTS is ever reached. I suspect it is either not executed, or CLEAR EVENTS is given at the wrong time.
>
>Hilmar.

When I run it from within VFP7, it works perfectly. I close it and it returns to the command window. So, Read Event is working properly (as you mentioned). But when I close VFP7 and try to run the exe file, It does nothing at all.

Clear events is the last instruction of my exit routine.
So, the problem is when I try to run the exe without opening VFP7

I did the debug but no problem shows due to the fact that I am running it from withing VFP7

Rosendo
Rosendo J. Roche
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform