Applies To:
  • CitectSCADA 6.10, 7.0


I want to display a .doc document (not a .rtf) on Citect page. I tried to do it as an ActiveX object but when I pasted an ActiveX on my page in Graphic Builder, MS Word was not listed on ‘Insert ActiveX Control’ dialog.



You can achieve this by inserting Web Browser ActiveX and then use _ObjectCallMethod() on “On Page Shown” event. The procedure is as follows:

  1. In Graphic Builder paste ‘MS Web Browser’ ActiveX object.
  2. Open ‘Properties’ dialog of the ActiveX object and notice the Animation Number of the project
  3. Open ‘Properties’ for your graphic page, tick ‘On Page Shown’ event, and put the following command:


        Where <##> is the actual animation number and <file> is a full path and file name of your MS Word document.

        For example: _ObjectCallMethod(ObjectByName("AN35"),"Navigate2","C:\temp\my_doc.doc");