I have a program that saves the contents of Richview to an rtf file. If the intended path is a file that is already open, the program crashes. How can I check for this so that I can provide a message to the user to close the file, so that they never get to the point of crashing?
Thanks!
Check if file is open before saving to rtf
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: