Ayodele 0 Newbie Poster

I want to know how i can detect whether an office file (word, excel, etc) are password protected without having to open the file itself. The interop in vb .net has a function called HasPassword but you have you open the document first. Please help!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.