Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Live Update of VFP Application
Message
De
02/05/1999 03:54:25
 
 
À
21/04/1999 17:15:22
Karl Scheff
California Department of Education
Sacramento, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00210765
Message ID:
00214303
Vues:
17
>Is there a way to do a live update of a VFP application using the Internet. I have seen this done in Norton Utilities and Norton Antivirus and also Turbo Tax.

The easiest way is to launch a second application that simply sits and waits for the second to shut down.

Without getting into dll hacks ... just sit the second app in a loop trying to
replace the exe. once it suceeds then it can relaunch the main application.

Launch this app from your main app and then close down the main app ...

>>>>>>>>>>>>

If you want to be a bit more elegant you could also use winapi calls to query the OS for running versions instead of just looping trying to do a copy.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform