Problems Running SS4 VBA in SS10


Product(s):Power GEOPAK
Version(s):08.11.09.918
Area: General
Original Author:Bentley Technical Support Group

 

Problem:

VBA's run fine in SS4 but will not run in SS10

Solution:

You need to Re-register the BentleyControls.ocx

Follow these Steps:

  1. Exit Power GEOPAK SS10, and any other forms of Bentley MicroStation product
  2. See if the following file exists:
    1. C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\08.11.09\BentleyControls.ocx
  3. If not, use the one attached to this wiki
  4. If so, open a command prompt As Administrator
  5. Key in the following two commands:
    1. Regsvr32 /u "C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\08.11.09\BentleyControls.ocx"
    2. Regsvr32 "C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\08.11.09\BentleyControls.ocx"
  6. Now open Power GEOPAK SS10 again and see if the VBA’s will run.

To run CMD as Admin

communities.bentley.com/.../BentleyControls.ocx

Error Message:

 ERROR - ECXAttributes - Unable to locate ECSchema 'Ustn_ElementParams' for ECXAttribute.