Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How-To Update File In Use - Launcher
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00815995
Message ID:
00816017
Views:
24
>We have our application in VFP8 and compiled as an exe. We use a launcher program to start the main program after checking for updates on the server. The problem is the launcher is a compiled vfp7 exe. So, when it launches the main program, is still running in vfp7 which causes a problem on my reports where I tried to use the new _pagetotal/totalpages. So I need to figure out how to automaticly update the launcher programer on the remote sites.
>
>1. I've compiled the launcher in 8 (syslaunch.exe) and named it put a copy called syslaunch2.exe in the udpate directory.
>
>2. Modified the main program to check to see if there is a syslaunch2.exe if so, copy file syslaunch2.exe to syslaunch.exe. This of course didn't work since syslaunch was still in use.
>
>Anybody have an idea how I can do this?
>
>Thanks

Kirk,

I use a VBScript file for this purpose. It's very easy to write. There's a version of a launcher generator that I on worked with John Koziol (pre-MS). Further, if you've got MegaFox, there's another version of it that I provided for Marcia, Andy and Rick.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform