Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Using Timer for Version Control
Hi there. I am considering a way of managing version control for
my multi-user VFP6 app where the exe is on each PC and the data server-side.
I am considering using a Timer to check for the existence of my update.exe on the server's \NewVer directory. If it exists then a user notification message would ask the user to quit the app and reload. The reload would be a batch file to compare datestamps and download the update accordingly.
Because the user must be notified wherever they are in the system I expect to print the message on the _SCREEN so it is visible regardless of the currently active form. To do this I think I need to do _SCREEN.CreateObject('tmrVerCon','Timer') in the Main.prg.
However, how do I go about assigning code the Timer.Timer method?
Your contributions are much appreciated.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement