S
Shay
Hi,
I have a 2007 word addin (written in C#) and I'm facing a problem after
installing SP2 for Office 2007.
My problem - I use the Protect and Unprotect methods in order to password
protect the document. The password is a constant and never changes. After
installing SP2, when I try to unprotect the document, I get an error
"Password is incorrect".
Here are the steps to reproduce:
1. Create a word 2007 addin (shared add-in).
2. Add 2 buttons - one to protect and one to unprotect. Use a constant
password.
3. Run
4. Protect a document, save it and close the document.
5. Open the document and unprotect it.
Result: "Password is incorrect" occurs.
*Important thing: if you protect and unprotect the document while it is
still open, it works fine. You must protect, close, open and unprotect.
Please advice,
Thanks,
Shay.
I have a 2007 word addin (written in C#) and I'm facing a problem after
installing SP2 for Office 2007.
My problem - I use the Protect and Unprotect methods in order to password
protect the document. The password is a constant and never changes. After
installing SP2, when I try to unprotect the document, I get an error
"Password is incorrect".
Here are the steps to reproduce:
1. Create a word 2007 addin (shared add-in).
2. Add 2 buttons - one to protect and one to unprotect. Use a constant
password.
3. Run
4. Protect a document, save it and close the document.
5. Open the document and unprotect it.
Result: "Password is incorrect" occurs.
*Important thing: if you protect and unprotect the document while it is
still open, it works fine. You must protect, close, open and unprotect.
Please advice,
Thanks,
Shay.