Incode Systems Home Page Incode Systems, Inc.

Wednesday, April 29, 2009 4:40 pm CDT

EditText EditTab

EditText and EditTab have been updated to workaround a bug in Vista file timestamps that results in a false warning that another user changed the file.

The new versions are EditText 2.1.6 and EditTab 1.2.7.

EditText and EditTab warn users before saving if the file has changed since they loaded the file. This was previously done by checking the LastModified time in the directory listing of the file. In all previous versions of Windows, this method worked just fine. Under Vista however, the LastModifed time in the directory listing may change by a small amount between the time a file is saved and a few seconds later, even when no other user has changed the file. This would result in EditText or EditTab warning you that someone else had modified the file since you last saved or opened the file, even though that was not the case.

To avoid this problem, both programs have been changed to use a method of getting the file time that requires opening the file. This method is slightly less efficient than the original method, but appears to be the only reliable way to obtain the true file time under Vista.

[Home]