VSTO protection & Office Yellow information Bar RRS feed

  • Question

  • Hi there, i'm facing an scenario where  protecting a document with RMS and VSTO is different from doing it manually. 

    1. When i protect it manually, after selecting the right policy, i get this bar displayed.

    2. When i perform protection by code (VSTO) the protection is applied but the yellow bar is not display. If i close the document and i re-open, the bar is there as in the manual way.

    the code i´m using is:


    Any way to force word to reload/refresh or just display permission bar?

    Thanks in advance.

    Sunday, June 26, 2016 3:30 PM

All replies

  • Hi Holden,

    To be honesty, I am not familiar with RMS, could you share us how to create a Policy file? And then I could test your issue at my side.

    After you run these code, if you click file and back to document in Word, will this warning show up?

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, June 27, 2016 7:19 AM