Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro Runtime
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00090697
Message ID:
00093293
Views:
34
>>This method was used for two reasons: We wanted to have the EXE on each user's C drive for speed and to cut network traffic, and we wanted to be able to update the EXE without closing everyone out of the system.
>>
>>HTH
>>Barbara
>
>Barbara,
>
>Interesting concep! I suppose that the copying is done using DOS, so I wonder how you make sure that the execution of the program takes place after the copying?
>
>Marc

Marc, we use 'COPY FILE' inside VFP to copy the file to the C: drive, so the copy is complete before the program continues and tries to start it. When we're upgrading the EXE, we add a file 'LOCK.TXT' to the folder. When present, the Wrapper program doesn't check dates/times or copy a new EXE. It DOES warn the user that a new EXE is being uploaded, and suggests they wait a few minutes and try again. They can continue with their present C: drive version if they wish.

The biggest problem with the whole system is remembering to delete the LOCK.TXT file! We really ought to automate the whole thing :-)
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform