OFFICIUM INSERVIO
Your reliable partner for your business software...
Sage 100 - 9.0 - MS-Access/VBA Visual Basic Scripting
9.0.2 - Build 2295 - 18.02.2021
Ab MS-Access 2019 sind durch Microsoft alle VBScript Controls deaktiviert / With MS-Access 2019 all VBScript controls are deactivated by Microsoft
Deutsch
Situation
Ab Microsoft Access 2019 (auch Runtime) oder später, werden seitens Microsoft standardmäßig alle VBScript Controls deaktiviert.
Dies betrifft in der Sage ERP u.a. das Aufgaben Center ab der Sage ERP-Version 9.0, die auf Microsoft Access 2019 basiert.
Siehe auch Microsoft TechNet Artikel zu dem Thema (in Englisch).
Mögliche Lösung
Damit VBScript Controls genutzt werden können, müssen diese mit einem Microsoft Windows Registry Eingriff aktiviert werden.
Mit nachfolgender Reg-Anweisung kann die VBScript Funktionalität nach Installation von Microsoft Office 2019 oder Access 2019 Runtime wieder aktiviert werden.
Siehe MS Windows RegEdit
English
Situation
With Microsoft Access 2019 (also Runtime) or later, all VBScript controls are deactivated by Microsoft by default.
In Sage ERP, this affects, among other things, the module "Aufgaben Center" from Sage ERP version 9.0 or later, which is based on Microsoft Access 2019.
See also Microsoft TechNet.
Possible solution
In order for VBScript controls to be used, they must be activated with a Microsoft Windows registry change.
With the following Reg statement, the VBScript functionality can be reactivated after installing Microsoft Office 2019 or Access 2019 Runtime.
See MS Windows RegEdit
MS Windows RegEdit
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}]
"Compatibility Flags"=dword:0
"ActivationFilterOverride"=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}]
"Compatibility Flags"=dword:0
"ActivationFilterOverride"=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}]
"Compatibility Flags"=dword:0
"ActivationFilterOverride"=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}]
"Compatibility Flags"=dword:0
"ActivationFilterOverride"=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}]
"Compatibility Flags"=dword:0
"ActivationFilterOverride"=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}]
"Compatibility Flags"=dword:0
"ActivationFilterOverride"=dword:1