And that's poor way to have to determine if the file is "dirty". Many other
programs, even some from Microsoft, let you know visually that the file has
been modified since last save. Typically it's with an asterisk after the
file name in the title bar. Some program disable the save button on the
toolbar when the file is current. Either method is fairly easy to
implement, and no real performance hit.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnforms/html/winforms09182003.asp
article on .Net forms development, discusses setting the "dirty bit" and
updating the file caption to indicate file's status. MS can't even follow
its own guidlines!
Val
--
Bringing you BeadWizard Design Software
www.beadwizard.com
***************************
Practice safe eating -- always use condiments.
***************************
"Don MI <>" wrote ...
In all Office applications {except those like Access and OneNote that save
automatically} and most other application I have use, if the file has
changed since the last save, you will get a warning message asking you if
you want to save when you close the application.
Don