Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete an EXE
Message
De
19/05/2011 15:50:27
 
 
À
19/05/2011 04:25:33
Issam Mansour
Jordan Business Machines
Amman, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01511088
Message ID:
01511168
Vues:
51
>i try to use the following:-
>
>clear program
>clear events
>erase
>
>the same error message.
>
>clear all
>
>you can't use this command on running application.

The only other thing I can think of is perhaps, if you have just closed or exited the exe file, and then you immediately try to delete it, maybe the file system has not finished releasing any locks it might have on the exe file. You might be able to get around this by introducing a delay before you ERASE:
CLEAR EVENTS
CLEAR PROGRAM

=INKEY( 2 ) && Waits 2 seconds

ERASE ...
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform