>That's just was I Did, what I want to implement was something which could check if the Data structeres had changed.
>I thought to test if the exe program had changed but Is not sure that Data structure change with a new compilation of the Application...
I think you want the program on the client machine to do the upgrade automatically, if there are changes, right?
I think an easy and fast option would be to save information somewhere, in some table, about the "database version". If the client has database version #3, and you send him database version #4 or #5, then it is time to upgrade the database structure.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)