MS access does not capture treeview events after receiving update seconds

An Access 2010 application using TreeView (MSComctlLib.TreeCtrl.2) displays and populates as expected, but all of a sudden after Windows security patches do not return events back to VBA.

I tried with rollback MSCOMCTL.OCX in / syswow 64, but no luck.

Please write any such behavior or tips to fix the problem.

Respectfully,

+4
source share
2 answers

The problem is that the registry entries for mscomctl.ocx are corrupt after a security update. One solution can be found in this KB article. He suggests running this batch file as administrator:

reg delete hkcr\typelib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0 /f if exist %systemroot%\SysWOW64\cscript.exe goto 64 %systemroot%\system32\regsvr32 /u mscomctl.ocx %systemroot%\system32\regsvr32 mscomctl.ocx exit :64 %systemroot%\sysWOW64\regsvr32 /u mscomctl.ocx %systemroot%\sysWOW64\regsvr32 mscomctl.ocx exit 

I checked that this works in our environment.

+2
source

I opened an access file developed on 32-bit Access 2013, running on a 32-bit version of Windows 7, and ran into this problem when opening it in 64-bit mode Access 2013, running on a 64-bit version of Windows 8.

My decision:

Remove the control and add it again using the view in the access form.

Since the properties of the tree structure are mainly set by software, there should be little to be done except that it will be repositioned and renamed.

+1
source

All Articles