I need a way of knowing whether a Word Document is password protected before opening it with OLE.
I have noticed that byte number 527 (assuming the first byte is byte 1), is set to something other than Chr(0) when the document is passworded.
Is this just a few isolated cases (I have tested about 15) or is it something I can rely on?
Thanks
