*ARCHIVE*Non-modal forms cannot be displayed


  
 Applies To 
  
 Product(s):Exor Spatial Manager
 Version(s):
 Environment: N/A
 Area: Install/Upgrade
 Subarea: 
 Original Author:Donna Hibner, Bentley Technical Support Group
  

Error or Warning Message

Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page. 

 

 

Explanation

When attempting to open any of the SM forms (e.g. Create new, Zoom to XY, etc), ArcMap reports an ActiveX error.  There are two possible reasons: Oracle OO4O (Oracle Objects for OLE) has not been installed on the client desktop or The VBA Component of ARCMap was not loaded.

How to Avoid

Option 1 Reinstall Oracle Client on the desktop and ensure that OO40 is installed

    1. See the Spatial Manager installation guide

Option 2 Verify the ArcMap Installation

  1. Run a repair on the desktop Arc GIS. The VBA component might have been left out.
  2. If VBA is not loaded on Arcmap startup. To force Arcmap to load, change the registry values as outline on the ESRI Knowledge Base article:
    http://support.esri.com/en/knowledgebase/techarticles/detail/26333
  3. If the above change does not work (changging the value in HKEY_CURRENT_USER\Software\ESRI\ArcMap\Settings) you should also make the following registry changes:
    1. for 32-bit OS:
      1. HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\Arcmap\Settings PreloadVBA=1
    2. for 64-bit OS:
      1. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432\ESRI\Arcmap\Settings PreloadVBA=1

Option 3 Recreate the user profile on the client desktop

  1. Have a computer administrator delete the user profile on the computer and recreate it.

 

See Also

Spatial Manager Installation Guide

Installing Oracle Objects for OLE