how can i get Permission from Microsoft.Office.Interop.Word.ApplicationClass?

U

UNM

how can i get Permission from
Microsoft.Office.Interop.Word.ApplicationClass?

i can get Interop.Word.ApplicationClass at OnConnection() , but
Microsoft.Office.Interop.Word.Document haven't Permission Property,the
property in Microsoft.Office.Tools.Word.Document ?

what diff between Microsoft.Office.Tools.Word and
Microsoft.Office.Interop.Word??

how can i set a word Permission?
how can i get Microsoft.Office.Tools.Word from
Microsoft.Office.Interop.Word??

thank you very much for help!
 
C

Cindy M.

Hi Unm,
how can i get Permission from
Microsoft.Office.Interop.Word.ApplicationClass?

i can get Interop.Word.ApplicationClass at OnConnection() , but
Microsoft.Office.Interop.Word.Document haven't Permission Property,the
property in Microsoft.Office.Tools.Word.Document ?

what diff between Microsoft.Office.Tools.Word and
Microsoft.Office.Interop.Word??

how can i set a word Permission?
how can i get Microsoft.Office.Tools.Word from
Microsoft.Office.Interop.Word??
I don't know to what you're referring with the "Permission property". But
I can tell you the difference between the two classes.

Interop.Word is the standard automation interface; the one the Interop
Assemblies provide from Word's COM Type library.

Tools.Word is the Visual Studio TOOLS for Office interface that
sub-classes and overloads some of the Interop methods and properties. In
addition, it provides additional functionality not directly available
through Word's own interface (such as the Actions pane and document-level
SmartTags).

So, it's not possible to access Microsoft.Office.Tools.Word through the
Interop.Word class. It works the other way around. And in order to use
Tools.Word you have to have Visual Studio Tools for Office installed and
create a project from a VSTO template.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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