Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon
  • Product Communities
  • Building
  • OpenBuildings | AECOsim | Speedikon
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon
OpenBuildings | AECOsim | Speedikon Wiki Microsoft's April Security Updates Kill VBA Scripts
    • Sign in
    • Building Design - Wiki
    • +OpenBuildings Designer
    • +OpenBuildings Energy Simulator
    • +GenerativeComponents
    • OpenBuildings Station Designer
    • +OpenBuildings Speedikon + Bentley Speedikon V8i
    • +Bentley Facilities Space Planner CONNECT Edition
    • -AECOsim Building Designer
      • +Annotation - AECOsim Building Designer
      • +Architectural Design - AECOsim Building Designer
      • +ASM (Analytical Space Model)
      • +Configuration - AECOsim Building Designer
      • +DataGroup System - AECOsim Building Designer
      • +Dataset and Content - AECOsim Building Designer
      • +Drawing Extraction - AECOsim Building Designer
      • +Drawing Views - AECOsim Building Designer
      • +Electrical Annotation and Design - AECOsim Building Designer
      • +Floors - AECOsim Building Designer
      • +Form Modeling - AECOsim Building Designer
      • -General - AECOsim Building Designer
        • Accessing The Bentley Developer Network
        • AECOsim Building Designer - MicroStation Mode
        • AECOsim Building Designer - Version History
        • AECOsim Building Designer Product Compatibility
        • AECOsim MicroStation CONNECT Edition shortcut
        • AECOsim timeout in 2 minutes
        • Blurry dialogs in Windows 8-8.1
        • Change Rejected In Order To Preserve Design Integrity
        • Compatibility with Microsoft Office 64-bit - AECOsim Building Designer
        • CONNECT Edition - Cannot Open Drawing with Chinese Character
        • CONNECT Edition - City names written in Regional language are not properly shown in Light Manager
        • CONNECT Edition - DGN file format is unchanged
        • CONNECT Edition - Has the "Isolate" command been removed from AECOsim CONNECT?
        • CONNECT Edition - Installation Error - '.NET 4.5.2 '
        • CONNECT Edition - Installation Error - 'error code 0x80070643'
        • CONNECT Edition - Installation Error - 'Hash Mismatch'
        • CONNECT Edition - Is there any way to count all cells present in a drawing?
        • CONNECT Edition - What Features/Capabilities have been Deprecated/Superseded?
        • Creating a Geographic Coordinate System in BIM Projects
        • -Errors
          • "ClassFactory" VBA error when opening AECOsim Building Designer
          • "License information for this component not found"
          • "Runwait_mshta_en_productinstallerGUI.hta, Access is denied"
          • .NET 3.5 Framework error message for AECOsim Building Designer on Windows 8 or 10
          • AECOsim Building Designer - Application Error Code 0x80040151
          • AECOsim Building Designer - Application Error Code 0xE0434F4D
          • AECOsim Building Designer - Error Code Fm20.dll
          • AECOsim Building Designer - Exception with Code 0xc0000005
          • AECOsim opens with xml and/or settings error message boxes
          • Can not load VBA project file - mvba
          • Class not Registered Error on Windows 10
          • CONNECT Edition - AECOsim Building Designer Connect Edition Installation on Windows 7 Error
          • CONNECT Edition - AECOsim Crash With Network Dataset
          • CONNECT Edition - Can't Deactivate CONNECT Advisor on start.
          • CONNECT Edition - Getting random crashes when opening a drawing
          • CONNECT Edition - Random Crashes working in a drawing
          • Error 429 : License Information for this component is not found
          • Generate Type 7 Minidump files
          • Microsoft's April Security Updates Kill VBA Scripts
          • MSXML2 publicKeyToken error in tfdgschedules.dll
          • Unable to find style specified by HVAC_CUT_HIDDEN_LINESTYLE: (Hidden)
          • VBA error - Compile error in hidden module
          • VBA errors when opening files
          • VBA errors when using certain Structural or Mechanical tools
          • Where Are Exception Logs and Mini Dump Files Located?
        • Globally add data to every component in AECOsim
        • How can I get complete list of AccuDraw Shortcut Key-in?
        • How to modify Flyover Tool-tip
        • How to use "Swept Blend" function in AECOsim Building Designer
        • How to Use TFREBUILD
        • Ignore Clip Volumes not working
        • Inappropriate display issue in high resolution monitor
        • Issues after updating AECOsim Building Designer to Update 4
        • Lines going everywhere all over my drawing (zingers)
        • Lock Pages in Memory issue
        • Main Tasks Menu is Missing
        • Microsoft Office 365 August updates (version 1707) are causing crashes in AECOsim Building Designer on startup
        • Missing Help for Electrical
        • Open AECOsim Building Designer Files in MicroStation
        • Poor Performance when Operating System files are compressed
        • Recommended Solids Working Area Workflow
        • SelectBy Key-ins and Their Effect
        • Selecting Building Elements By Color
        • Unable to select some elements in the 3d model
        • Using LibreOffice Basic with AECOsim Building Designer
        • What's New in Select Series 6 Update 1
      • +Grid Systems - AECOsim Building Designer
      • +HVAC Design - AECOsim Building Designer
      • +i-model - AECOsim Building Designer
      • +Import/Export - AECOsim Building Designer
      • +Installation - AECOsim Building Designer
      • +Modify - AECOsim Building Designer
      • +Platform Tools - AECOsim Building Designer
      • +Plumbing Design - AECOsim Building Designer
      • +Print/Plot - AECOsim Building Designer
      • +ProjectWise Integration - AECOsim Building Designer
      • +Settings/Attributes - AECOsim Building Designer
      • +Space Planner - AECOsim Building Designer
      • +Structural Design - AECOsim Building Designer
      • +Utilities - AECOsim Building Designer
      • +Workspace - AECOsim Building Designer
    • +iModel Plugin for Revit
    • +Social Distance Assessments
    • Working from home with OpenBuildings products
    • Working from home with Speedikon
    • +Special Interest Group (SIG) FAQs
    • +Structural Modeler_PS
    • +Configuration Explorer
    • +Legacy Products

     
     Questions about this article, topic, or product? Click here. 

    Microsoft's April Security Updates Kill VBA Scripts

      Product(s): AECOsim Building Designer V8i
      Version(s): V8i
      Area:  Programming
      Subarea:  N/A

    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

    Please note that resolving VBA problems may require the intervention of your IT support teams or services as these are primarily Windows system matters. Some level of administrative permission is needed for most of the potential solutions.

    Resolution:
    Note: Uninstalling any of the applied Microsoft Security Updates will not correct the problem nor does Bentley recommend 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

    • AECOsim Building Designer
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Elisabeth Pry Created by Bentley Colleague Elisabeth Pry
    • When: Thu, Nov 21 2013 12:01 PM
    • Marc Thomas Last revision by Bentley Colleague Marc Thomas
    • When: Tue, Oct 20 2020 1:02 PM
    • Revisions: 9
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies