Run Time Error VBA programs that reference the Geopak 8.11 Object Library no longer work


  
 Applies To 
  
 Product(s):Bentley GEOPAK Civil Engineering Suite, PowerGeopak
 Version(s):08.11.07.615+ and 08.11.09.493+
 Environment: N/A
 Area: Startup
 Subarea: 
 Original Author:Bentley Technical Support Group
  

 

 

 

 

 

 

 

Error Message

When running a VBA, such as the Cross Section Labeler, user gets the following error messages:

Run Time error

VBA

VBA programs that reference the Geopak 8.11 Object Library no longer work

or

Microsoft Visual Basic Run-time error

Automation Error
The specified module could not be found. 

Explanation

This message is issued on a machine with both GEOPAK SS2 and GEOPAK SS3 installed.  When installing, the VBA files and DLLS are registered for the newer version.  Therefore, if the VBA files from the older version need to be run again, the "GEOPAKCOM.EXE"  for that specific version must be run to re-register the VBA and DLL files.

Workaround

For SS2: go to "C:\Program Files (x86)\Bentley\GEOPAK\V8.11\bin" and execute the "geopakcom.exe" file.

For SS3: go to  "C:\Program Files (x86)\Bentley\GEOPAK\GEOPAK (SELECTseries 3)\bin" and execute the "geopakcom.exe" file.

Note: On some systems, it may be necessary to select the "Run As Administrator" option when executing the file.  For users who do not have sufficient rights to "Run as Administator", their administrator can set the compatibility for the geopakcom.exe file after installation as shown below...