-3

I have a password protected (.vsd) Visio drawing page, which contains several macros, which are the reasons for the page being protected.

How can I programmatically unprotect it using c#?

kidshaw
  • 3,189
  • 2
  • 13
  • 25
Puneeth
  • 287
  • 1
  • 3
  • 14
  • Since the answer is "you cannot do that" I think it might be okay to keep the question. Means what kind of efforts can we discuss, when it's just not possible? – Nikolay May 08 '17 at 11:37

1 Answers1

1

You cannot protect/unprotect a Visio drawing programmatically. Means, there is no such API available (for security reasons). The best you can do is SendKeys (i.e. UI automation).

Nikolay
  • 7,487
  • 2
  • 18
  • 38