Word 2007 Automation bug if document and file modify password

R

RobertSeattle

I'm seeing a bug where if you via automation open a docx in Word 2007 that
has a file modify password, Word just opens up the document without raising
an error like it does in Word 2003 and prior. I came across this KB that
sounds "close" but they didn't fix the automation bug in thie hotfix.

http://support.microsoft.com/default.aspx?scid=kb;en-us;970942

The odd thing is if you try to .saveas the file after opening it up via
automation you get a peculiar error number 5476 “The password is too long.â€
even though no password is being passed to the .saveas method.


Anyone come across this and no of a workaround?
 

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