Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running .EXE on a network
Message
De
06/03/2008 12:32:54
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
06/03/2008 12:20:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01299335
Message ID:
01299357
Vues:
12
>The reason I want to know because I have a form in the application does update for tables and exe from an ftp server. When the end user clicks on the update button, the code compares the local exe date with the new ftp exe date that has the fixes. If the ftp exe is newer than local exe, the form automatically download the new exe to a temp directory, then closes application, overwrites the old exe, then runs the new exe. The problem that I have if another workstation has the old exe open, then I will have a problem copying the new exe from the temp directory to overwrite the old exe.

If you're doing all of that, don't copy the new exe to the server. Copy it to the PC of the user that launched. Then you never need to know who is running the exe.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform