Word 2010, ProtectedView and Taskpanes

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

Word 2010, ProtectedView and Taskpanes
Within ProtectedView-Mode it is not possible to access taskpanes to change visibility 
Ingrid Kellerer

Posts: 18
Joined: 2011-03-15

I have three taskpanes, 2 of them I would like to hide whenever a document is opened in protected view. But I am not able to access them - they always return nothing (whereas when opening a "normal" document the code works.)

I have read http://www.add-in-express.com/forum/read.php?FID=5&TID=8285&MID=42626#message42626 - but there was no solution to the issue ... any news on this topic?

Or do you have any idea to handle this?

Regards - Ingrid
Posted 15 Apr, 2011 07:34:11 Top
Eugene Astafiev

Add-in Express team

Posts: 8540
Joined: 2007-07-25
Hi Ingrid,

Unfortunately I was not able to reproduce the issue on my PC with Windows 7 and Office 2010 (both x64). What code do you use to get an instance of the AddinExpress.WD.ADXWordTaskPane class?
Where do you try to get an instance of the form?

Anyway, the following code works like a charm on my PC:

 AddinExpress.WD.ADXWordTaskPane pane = adxWordTaskPanesManager1.Items[0].CurrentTaskPaneInstance;
.NET, Extended MAPI, Windows Phone & RT
Posted 15 Apr, 2011 11:05:35 Top