English

Error: Run-time error: ActiveX component can't create object

Error Message

The following error occurs while attempting to run the Semantics Checker from Visio 2003:

"Run-time error '429':
ActiveX component can't create object"

Cause

The Visxdata type library is not found by Visual Basic for Applications inside Visio 2003.

This error occurs for models created with Visio 2002 templates or earlier. Models created with the Visio 2003 template will no longer have this problem.

Solution or Workaround

The following workaround allows the Semantics Checker to run independently from Visio.

  1. Open Visual Basic and create a new 'Standard EXE' project.
  2. Click Project > References.
  3. Click Browse and go to the default ArcGIS\bin installation directory.
  4. Select UmlSemCheck.dll.
  5. Add a command button to the form. Double-click the command button.
  6. In the resulting window, paste the following:

    Code:
    Private Sub Command1_Click()
    StartChecker
    End Sub

  7. Save and run the project.
  8. Download the Visio 2003 template: Building Geodatabases with CASE Tools