views:

79

answers:

1

Hi,

I am using dsoFramer to open docx files in winforms. When a docx file is opened in dsoframer and user open the same document from windows explorer, the application becomes unstable. How can I prevent opening the file from windows explorer when it is open in dsoFramer.

Best regards.

+1  A: 

i would create a copy of the file and work from that, if you need to save it then just replace the original with the copy

harryovers
Hi harryovers and thank you for your suggestion, this is what I'm doing, a temporary docx file (with hidden as attribute) is created in C:\Documents and Settings\<user>\Local Settings\Application Data, but user still has possibility to open the file. I want a way to prevent the file from being opened.
Bilel Boughanmi