Настройки Trust Center программно настраивающего MSWord с помощью C#

urlgrabber имеет встроенную поддержку для уведомления о прогрессе.

8
задан Glorfindel 2 May 2019 в 22:05
поделиться

1 ответ

Looks like I am going to answer my own question.

I have tested it and can confirm the mappings are as follows:

Macro Settings:

  • msoAutomationSecurityForceDisable = Disable all macros without notification

  • msoAutomationSecurityByUI = Disable all macros except digitally signed macros

  • msoAutomationSecurityLow = Enable all macros

To the best of my knowledge the global ActiveX settings can only be configured by directly editing the registry

ActiveX Disabled

[HKEY_CURRENT_USER\Software\Microsoft\Office\Common\Security] "DisableAllActiveX"=dword:00000001 "UFIControls"=dword:00000002

ActiveX Enabled with safe mode

[HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ Common \ Security] «DisableAllActiveX» = dword: 00000000 «UFIControls» = dword: 00000002

ActiveX включен без безопасного режима

[HKEY_CURRENT_USER\Software\Microsoft\Office\Common\Security] "DisableAllActiveX"=dword:00000000 "UFIControls"=dword:00000001

I have left a comment in the relevant section of the MSDN website

7
ответ дан 5 December 2019 в 17:38
поделиться
Другие вопросы по тегам:

Похожие вопросы: