Search found 1 match

by Nate
Tue Aug 26, 2008 5:34 pm
Forum: Support
Topic: Check if file is open before saving to rtf
Replies: 1
Views: 6842

Check if file is open before saving to rtf

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!