Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release .app from code
Message
De
18/03/2003 18:12:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00767280
Message ID:
00767306
Vues:
8
Hi Sergey,

It's a .prg file that merges selected tables and ensures we don't drop or truncate any fields. I've set this .prg as main. The program is called using "Do L:MergeTables" from the command window where L: is a network drive.

It then provides a list of .dbf files in the current folder and allows the user to select which files to merge using the _supermover FFC class. It does everything fine, except, when I was done testing it in Fox and wanted to copy it onto the network drive the computer wouldn't let me. The error is:
"Cannot copy mergetables: It is being used by another person or program.
Close any programs that might be using the file and try again."

This signifies to me that FoxPro is somehow holding the file. If I try to execute the program from another instance of FoxPro it works fine though.

Just really weird to me. The whole thing is about 150 lines. I could post if you think it would help.

Aloha,

James

>Hi James,
>
>You've to provide more details, maybe post some relevant code.
>
>>Hi All,
>>
>>I'm writing some little utility programs that will allow us to manipulate data tables from the command window. These utilities will be placed on a server and shared by several people.
>>
>>I wrote this little thing and compiled it to an .app file. Everything works fine except when the program ends FoxPro doesn't seem to release it. We get an access denied or something error. If we type "Clear All" and "Close All" then everything is fine. Except issuing a "Clear All", "Close All" is really inconvenient.
>>
>>Aloha,
>>
>>James
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform