0
votes

VSTO document level Addins works only for that document which are saved in the system? its not works for the document which open from Mail attachement ?

2

2 Answers

1
votes

I believe the document will not work without its assembly been sent down. Check the How Customization Work with Microsoft Office Applications? section here.

Another option would be to place the assembly in the shared location. So the recipient opens the document the assembly will be loaded from the shared location.

1
votes

Document-level customizations are designed to work with a single document in a single application domain. They are not designed for cross-document communication. You have to develop a Application-level customization to deal with documents which open from Mail attachment.

http://msdn.microsoft.com/en-us/library/vstudio/zcfbd2sk.aspx
http://msdn.microsoft.com/en-us/library/bb398248(v=vs.90).aspx