| 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:
- Exit Power GEOPAK SS10, and any other forms of Bentley MicroStation product
 - See if the following file exists:
- C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\08.11.09\BentleyControls.ocx
 
 - If not, use the one attached to this wiki
 - If so, open a command prompt As Administrator
 - Key in the following two commands:
- Regsvr32 /u "C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\08.11.09\BentleyControls.ocx"
 - Regsvr32 "C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\08.11.09\BentleyControls.ocx"
 
 - 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.

