Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating A VFP exe
Message
De
20/02/2002 13:41:50
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00622700
Message ID:
00622722
Vues:
31
Thanks for the comments George. I'll have a look at the articles.

Mike
>
>I use a Windows Script Host VBScript file to do this and more. For example, we're having a number of computers upgraded all the time. One thing that the script file does is check to make sure that the run-time is installed, and if it isn't run it. It also handles things like service pack or version updates.
>
>One thing that you mentioned is that you're launching the update application via an API call as opposed to a DO... command. I not 100% certain, but I believe that using the latter causes the application to run in the current address space. Using the former would cause it to run in its own address space, and, therefore, take up more resouces. However, if you used the Windows Script Host's WScript.Shell object's Run method, it accepts an optional parameter that causes the caller to wait for the called application to terminate before proceeding. Ed Rauh and I wrote a series on the WSH that began in September, 2000 for the VFUG newsletter. The articles are available on-line at www.vfug.org.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform