Quantcast
Channel: OpenBuildings | AECOsim | Speedikon
Viewing all articles
Browse latest Browse all 34666

Wiki Page: Microsoft's April Security Updates Kill VBA Scripts

$
0
0
      Applies To        Product(s): AECOsim Building Designer V8i   Version(s): 08.11.09.225   Environment:  N/A   Area:  Programming   Subarea:  N/A   Original Author: Bentley Technical Support Group                     Problem Microsoft’s April Security Updates Kill VBA Scripts Issue: Several of the recent Microsoft  Security Updates for April have introduced a problem with executing VBA scripts in Bentley Structural Modeler XM & V8i, Bentley Structural Modeler XM & V8i and AECOsim Building Designer V8i. The issue may also be prevalent in other Bentley applications that use VBA scripts. The Microsoft  Security Updates may affect  Bentley applications on both Window XP and 7 clients. Symptoms: The symptoms that you have been affected by one of these Microsoft  Security Updates is you may receive one of several variations of a VBA error in the message center of Bentley Structural Modeler XM & V8i, Bentley Structural Modeler XM & V8i, AECOsim Building Designer V8i or other Bentley applications. Error messages include but are not limited to: • VBA interface error: unable to run macro - invalid procedure name (error when placing Structural joist girder / bar joist / analysis Import/export) • VBA interface error: unable to run macro - 0x80040552 (error when placing Structural steel truss) • Cannot run VBA module • No apparent VBA error for Mechanical tools, but there's not the usual display of mechanical content in dynamics on the cursor To verify the issue is the result of the Microsoft  Security Updates for April , please recall the file properties for MSCOMCTL.OCX  (c:\windows\System32 – 32-bit OS, c:\windows\SysWow64- 64bit)  and validate the File version is  6.1.98.33 and Product version is 6.01.9833. Solution Resolution: Note: Uninstalling any of the applied Microsoft Security Updates will not correct the problem nor does Bentley recommend not uninstalling any Microsoft security updates. The MSCOMCTL.OCX will need to re-registered. To re-register the MSCOMCTL.OCX on Window 7– 64bit: 1. Open the Start Menu. 2. In the white line (Start Search) area, type cmd to initiate the command prompt 3. Right click on cmd (at top), and click on Run as administrator. 4. Click on Continue in the UAC prompt. 5. Change your source directory to “c:\windows\SysWow64” by typing cd c:\windows\SysWow64 6. Type regsvr32 MSCOMCTL.OCX To re-register the MSCOMCTL.OCX on Window XP/7– 32bit: 1. Open the Start Menu. 2. In the white line (Start Search) area, type cmd to initiate the command prompt 3. Right click on cmd (at top), and click on Run as administrator. 4. Click on Continue in the UAC prompt. 5. Change your source directory to “c:\windows\System32” by typing cd c:\windows\System32 6. Type regsvr32 MSCOMCTL.OCX Or download the attached file and rename the extension from .txt to .bat and right-click and click on Run as administrator See Also Product TechNotes and FAQs External Links Bentley Technical Support KnowledgeBase Bentley LEARN Server Comments or Corrections? Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this " Comments or Corrections?" section. THANK YOU!  

Viewing all articles
Browse latest Browse all 34666

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>