Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE file
Message
De
10/12/1998 13:13:43
 
 
À
10/12/1998 09:43:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00165807
Message ID:
00166215
Vues:
25
I am using VFP 5.0. As David suggested, the problem is when release or clear ALL VFP seems to look for foxhelp.hlp which I do not have it in the current directory.

>Wei Lin --
>
>What version are you running? Also, what error messages do you get if you don't have cleanup code (when running EXE)?
>
>>Thank you for your reply, John. I'am afraid, it might not solve my problem. I guess I did not state the problem clear. The problem is not just related to RELEASE ALL. I tried to remove RELEASE ALL, then it reported same error at next statement CLEAR ALL. If I do not run cleaning up, I get other error for not cleaning up.
>>
>>>Hiya --
>>>
>>>A wild hunch --- change EXTEND to EXTENDED and see what happens. Secondly, you could always wrap the RELEASE ALL EXTENDED into an IF function to check to see if you're in APP or EXE as follows:
>>>
>>>IF VERSION(2)#0 && Not in runtime
>>> RELEASE ALL EXTENDED
>>>ENDIF
>>>
>>>You really don't need a release if a standalone executable.
>>>
>>>>I have a VFP application. When it runs as .app in VFP, it works fine. However, after I build it into .exe and run in Windows or NT, it will report "File does not exist" error when I exit. The error happens at the end of the program when it execute cleaning up as follows:
>>>>
>>>>RELEASE ALL EXTEND
>>>>
>>>>What is the problem? Thanks in advance.
>>>>
>>>>Wei Lin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform