When opening a word document from outlook, mssing ProtectedView events

Add-in Express™ Support Service
That's what is more important than anything else

When opening a word document from outlook, mssing ProtectedView events
 
Stuart Kolodner




Posts: 35
Joined: 2009-10-09
When opening a Word document from an Outlook attachment, neither the ProtectedViewWindowActivate or the ProtectedViewWindowOpen events are triggered. They are triggered when a powerpoint or spreadsheet are opened from Outlook. I'm using the adx versions of the events. The event handlers are set from the add-in constructor.

I'm disabling my UI based on catching these events to recognize that the document has been opened in protected view.

Any ideas of what happened to the events? Any workaround?

Thanks.
Posted 16 Dec, 2011 12:15:59 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello,

We've already met the issue, see http://www.add-in-express.com/forum/read.php?FID=5&TID=9905.

I've added a bug report to the Word for Developers forum, see http://social.msdn.microsoft.com/Forums/nl-BE/worddev/thread/0b480c6d-2110-4432-8116-420aee557d33.

I'd check if this logic works: enable the custom UI when the document is opened in the normal view.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Dec, 2011 02:50:29 Top