Applies To:
  • CitectSCADA 6.00, CitectSCADA 6.10, CitectSCADA 7.00, CitectSCADA 7.10
  • VijeoCitect 6.10, VijeoCitect 7.00, VijeoCitect 7.10

I want to insert the Process Analyst control on a page in Graphics Builder but I get the following error when I try to: "IDispatch error"

The IDispatch error occurs if a particular ActiveX Control does not support the IDispatch Interface. However, since the Process Analyst control does support it, this error is likely to appear if the Process Analyst ActiveX control has not been registered correctly.

Thus, you will need to register your Process Analyst Control DLL file, as follows:
  1. Open the Windows Command Prompt
  2. type: regsvr32 "<Path>\Analyst.dll"  (The DLL path is shown in "Location" field on "Insert ActiveX Control" Popup in the Graphics Builder). By default, this file will be located under C:\Program Files\Common Files\Citect 
  3. Press Enter

Once Enter has been pressed, you will get a pop-up message box acknowledging that the registration succeeded. You should now be able to insert a Process Analyst ActiveX object on your graphics page.

For more information about registering ActiveX controls in Windows, refer to Knowledgebase Article Q3386.

 IDispatch, regsvr32, ActiveX, Analyst.dll