Save files change history?
Posted on 2009-12-17
Suppose I saved the contents of a tmemo as a text file ....
Then another 30 minutes later (just an example)
Then my computer freezes and a lost my current work ...
How can I open the latest version saved by code?
I could save the filename with a date/time in the filename but how do I get the code to know which one it has to open without me having to check the datetime in the filename?
For example ... if the file is called:
then I'd like to add a "-" (without the quotes) and then the datetime stamp included in the filename...
Then if I open Project1 .... the code checks the latest and opens that one....
Hope this makes sense.
I'm opened the suggestions if this is not the best way to do it.