Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating A VFP exe
Message
From
20/02/2002 13:41:50
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00622700
Message ID:
00622722
Views:
30
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform