Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing exe then copying a new version over it
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01533292
Message ID:
01533309
Vues:
36
If you want to kill a program, check
http://berezniker.com/content/pages/visual-foxpro/check-if-exe-running-and-optionally-terminate-it

However, if you kill yourself (the program killing iself), it needs something else to re-start it.

>Hi Naomi
>
>The truth is been using a bought version of UP2D8 with out any issues for many years. My internet hosting company Webmania now renamed Yorhost have just messed up the reregistration of the domain I used, even though I'm fully paid up including hosting for another 2 years. I cant contact them, they do not reply to emails or answer the phone....
>
>Anyway, UP2D8 doesn't seem to work on my new internet host (D9 hosting), they can't help me since I'm on a shared server they say.
>I have lost the UP2D8 source code, so can't play with the FTP/HTTP section to see why it isnt working.
>
>I have no money in the budget to buy another year of support for UP2D8, so thought I'd have a go at putting together a simplified version that I'd more control over. Tried some some simple uploading/downloading using FTP, and it all works find on my D9 HOSTING server.
>
>One of the features of UP2D8 is that it will update itself as well as the main program you are updating as part of the update proceedure, so it definately can be done :)
>
>Oh, that feels better, always good to get things off your chest....
>
>Thanks anyway
>
>>>Hi
>>>
>>>I know how to run a shortcut from VFP, but now I need to QUIT my exe, copy a new EXE over the top of it and
>>>restart the original shortcut that ran my Foxpro EXE in the 1st place.
>>>
>>>TAI
>>
>>There are Launchers in the Downloads section here. The basic principle is that you put new exe in some Network location and the launcher checks if there is a new copy before starting your main application and copies it to the user's local path from the network. You're running your main application through this launcher.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform