Madhur Tiwari
Posts: 6
Joined: 2016-04-18
|
In Addin Express, Is there any equivalent to DocumentProperty and MetaProperty (in VSTO)?
Can we use both VSTO as well as AddIn Express( What is recommendation? |
|
Dmitry Kostochko
Add-in Express team
Posts: 2875
Joined: 2004-04-05
|
Hi Madhur,
In Addin Express, Is there any equivalent to DocumentProperty and MetaProperty (in VSTO)?
I think DocumentProperty is the same object in both platforms, you need to access the Excel.Workbook.CustomDocumentProperties or Word.DocumentCustomDocumentProperties collection, type cast it to Office.DocumentProperties and use its Item property to get a DocumentProperty object.
I am not sure about MetaProperty. What is your target host application?
Can we use both VSTO as well as AddIn Express( What is recommendation?
Sorry, I do not quite understand this question. VSTO and Add-in Express are different platforms, they do not intersect. You can have several VSTO and Add-in Express based add-ins installed on the same machine. Is it what you are asking for? |
|
Madhur Tiwari
Posts: 6
Joined: 2016-04-18
|
red
Sorry, I do not quite understand this question. VSTO and Add-in Express are different platforms, they do not intersect. You can have several VSTO and Add-in Express based add-ins installed on the same machine. Is it what you are asking for?
red |
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Hello Madhur,
Madhur Tiwari writes:
Microsoft.Office.Core.DocumentProperty and Microsoft.Office.Core.MetaProperty are two interfaces in VSTO library.
These interfaces are provided by the Microsoft.Office.Core.dll for Office version 2013+. That DLL is an interop assembly; it isn't part of VSTO; you can use it in an Add-in Express project as well. If you created an Add-in Express project and you don't see these interfaces, then you use interops for another Office version.
Madhur Tiwari writes:
No, I am asking is it possible to use both VSTO and AddIn Express in a single AddIn?
No, you can't. As explained, VSTO and Add-in Express are different platforms, they generate different kinds of add-ins.
Andrei Smolin
Add-in Express Team Leader |
|