C# MS Word Document.SaveAS() method Problem

A

Aerojade

In document.saveas() method i also provide a reference object for password.
However it seems that the document is not accepting passwords beyond 15
characters. I changed the Encryption algorithm to RC4 using
SetPassWordEncryptionOptions() and set the key length to 128 but it still
does not accept more than 15 characters.
However when i manually save the file with RC4 encryption and provide a
password above 15 characters(after specifying key length of 128)...it works.
Please help.
How can i programatically save a file with more than 15 characters.


In fact while using the document.open() method... i am unable to open a
document with more than 15 characters in password by specifying the password
object as well
Am using VS - 2005 with MS Office 2003
Thankyou.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top