sharpMoon

PS: i programme it with C#



Re: Visual Studio Tools for Office How to process a Office document which is encrypted by RMS

Cindy Meister

Does this question have anything to do with Visual Studio Tools for Office technology, or is it a general Office question If the latter, please see the links in the "Please Read First" posting at the top of this forum and ask in a more appropriate venue. Be sure to include the version of Office under discussion and how the encryption was done.

If you're using VSTO, please elaborate on the question.






Re: Visual Studio Tools for Office How to process a Office document which is encrypted by RMS

sharpMoon

it's a programming question. i want my .net programme to access the document which enrypted by RMS. but i can't.

when i use OleDb + ADO.NET to access a normal Excel file, i make it. but, if the excel file has been enrypted by RMS, it will return falure message.

so i try to use Microsoft.Office.Tools.Excel(.NET Component ,ver. 8.0), but i don't how to open a excel file :-(, i can not find any method about Open(string file)

and then , i try Microsoft Excel 11.0 Object Library(COM Component), i got the above question too.

plz help me.

thanks and best regards





Re: Visual Studio Tools for Office How to process a Office document which is encrypted by RMS

Cindy Meister

Technically, this still isn't a VSTO question. VSTO is a special technology add-on to Visual Studio that allows you to "streamline" programming against Office applications. Your question concerns automating an Office application, and therefore ought to be asked in the office.developer.automation newsgroup.

Start with this Knowledge Base article, then follow the links to "How to" articles for the kind of thing you want to do. Please post follow up questions to the newsgroup

http://support.microsoft.com/kb/311452/en-us#appliesto

I also recommend a Google search of the office.developer newsgroups for discussions and more code samples.






Re: Visual Studio Tools for Office How to process a Office document which is encrypted by RMS

sharpMoon

ok, thanks for your useful links. please delete my thread