.Net/C# - Deactivate Word/Office shortcuts

T

Tobias Maier

Hello,

i would like to disable keyboars shortcuts in Word.

I have realized this in VB6 mit Office97.

Now, I am using .Net/C#. The methode FindKey is not supported.

Sample:
wordApp.FindKey(wordApp.BuildKeyCode(WdKey.wdKeyP,
WdKey.wdKeyControl)).Disable;

FindKey is not supported.
BuildKeyCode is supported.

Has someone an idea to get this method or any other sample code to
deactivate shortcuts in Word?

Actual we are using the Word interop 8.100.


Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top