Thanks Ted. I do use a stub loader now that checks for updates to the application, downloads it if available, then runs the newest version. I guess I could expand on that and pass it a parameter that sleeps() for a few seconds, then restarts the main app.
Mike -------- Original Message -------- Subject: Re: Restarting VFP app From: Ted Roche <[email protected]> To: [email protected] Date: 7/20/2012 6:23 PM Use a loader app. The loader finds out if the main app, libraries, supporting files, etc. needs updating, downloads them, then launches the new app. Search for VFP loader and you'll likely find the code in Ed's downloads, on the Fox Wiki or VFOX. The authoritative article was FoxPro Advisor in '94, IIRC. The solution doesn't work for runtime libraries, unfortunately. For that, we've always manually updated clients. On Fri, Jul 20, 2012 at 6:35 PM, Mike Copeland <[email protected]> wrote: > Just spitballing here... > > Anyone have any ideas how to have a VFP application shutdown in order to > restart? > > I'm thinking about something like when Firefox has downloaded an > update...it prompts you to restart Firefox to install the update. I'm > assuming that the same EXE file (Firefox) that prompts you then "does > something" to shut down, run the update, or run itself with an "update" > flag parameter, then restarts the application after the update is finished. > > How dey do dat? > > Mike Copeland > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

