-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,423
  • 2
  • 16
  • 28
Puneeth
  • 419
  • 1
  • 6
  • 18
  • 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
  • 10,752
  • 2
  • 23
  • 51