You could use the file date to check whether it is a new version.
In this case you need to store exe file information somewhere in the maintenance table at the moment when you create it.
Then you will be able to compare dates programmatically.
>Hi,
>
>I have 2 files (EXE) in my application:
>MAIN.EXE: This file is the same for all customers and never is updated.
>CUSTOM.EXE: Each customer have a CUSTOM.EXE that is different the others customers.
>
>So, my problem is: How could I know if the CUSTOM.EXE is the valid? I mean, I want to check if other developer replace MY CUSTOM.EXE for other VFP EXE and have access to my database...
>
>The EXEs should talk, then I'd have something like that:
>MAIN.EXE talks: "Hey CUSTOM.EXE... Are you really?"
>CUSTOM.EXE talks: "Yes MAIN.EXE! I'm the correct file."
>
>This way, if other person change the MAIN.EXE:
>MAIN.EXE talks: "Hey CUSTOM.EXE... Are you really?"
>CUSTOM.EXE talks: "What??? ... ... ??? Yes, I'm!"
>
>and then I know that CUSTOM.EXE is not MY CUSTOM.EXE ....
>
>:-) Some ideas? :-)
>
>TIA
Précédent
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