Using Microsoft Forms 2.0 ActiveX in Citect 2018R2 under Win11

I'm having an issue getting Citect to recognize Microsoft Forms 2.0 ActiveX (FM20.DLL). I also had issues with this under Win10, but under Win11 it seems whatever I do is not helping. An application we have for cargo monitoring and pump and valve control on chemical tankers rely on the Image Control from this active x to display color for the cargo types in the various tanks. The colors are sent as RGB codes over Modbus protocol from a corresponding level gauging program. This all works well under Win10.

Part of the problem seems to be the multiple versions available of the FM20.dll. The dll is supposed to be installed under \Windows\System32\ and also under \Windows\Syswow64\ and registered with regsvr32, but either I have the wrong versions at hand/latest version as installed by Office365 just doesn't play with Citect (Ver . I really don't know where to start to get this resolved, nor have I been able to find any other alternative method of displaying the RGB codes as colors in the Citect mimics.

When I try to open the pages in Graphics Builder that contains the ActiveX ,  I get the 2 different error messages:

Any idea on how to resolve this is highly appreciated! 

  

Thank You

Parents
  • You could try to install setuppad.exe.

    http://download.microsoft.com/download/activexcontrolpad/Install/4.0.0.950/WIN98MeXP/EN-US/setuppad.exe

    Set compatility mode to Windows XP and select Run this program as an administartor.

  • Hello Bart,

    Interesting exercise this: the setupad.exe installed and played well, opening the old 2003 activex collection just fine, just as my Citect do. However unable to open the newer versions, just as Citect is. It is easy to conclude that there must be missing Microsoft Forms ActiveX support in Citect beyond the 2003 version of the dll, even with lastest update to 2018R2 applied.

    thanks for the input!

Reply
  • Hello Bart,

    Interesting exercise this: the setupad.exe installed and played well, opening the old 2003 activex collection just fine, just as my Citect do. However unable to open the newer versions, just as Citect is. It is easy to conclude that there must be missing Microsoft Forms ActiveX support in Citect beyond the 2003 version of the dll, even with lastest update to 2018R2 applied.

    thanks for the input!

Children
  • My conclusion is different: when an external tool like SetupPad has the same issues as Citect regarding the newer ActiveX controls, the issue is probably not in Citect, but in the newer ActiveX controls.

    To be able to use ActiveX controls in Citect they need to have certain properties, like an iDispatch interface. See Tech Note TN000029335 for more details about this. The newer Microsoft Forms Controls probably lack these properties, making them unsuitable for Citect.

    Also, ActiveX technology has been made obsolete by Microsoft. It's no longer formally supported. Therefore, in the future it might become more difficult to get it working. I would suggest making backups of all controls you are using, for future reference.