After the Feb. 11, 2009 security updates from Microsoft, I had some customers call and inform me that a database I had written for them no longer was fully functional. A form that was using MSHFLXGD.OCX (Microsoft Hierarchical FlexGrid Control 6.0) was not displaying. Instead they would get the message:
Because of your security settings and current security policy, this control is disabled. To modify your policy and enable the database, use the Message Bar.
A little research later and I read about a security update that went out to fix a memory leak in this control: http://www.microsoft.com/technet/security/bulletin/ms08-070.mspx
One of the security updates overnight disabled the old control and resulted in that error above.
To fix this issue:
- msiexec.exe /a [PathToMSIFile] /qb TARGETDIR=[PathToExtractTo]
3) Unregister the old OCX file.
- regsvr32 /u mshflxgd.ocx
4) Replace your old copy with the new file that you extracted above
5) Register the new OCX file.
- regsvr32 mshflxgd.ocx
The module “mshflxgd.ocx” was loaded but the call to DllRegisterServer failed with error code 0x8002801c.