Applies To: |
|
Summary: |
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. |
Solution: |
You can achieve this by inserting Web Browser ActiveX and then use _ObjectCallMethod() on “On Page Shown” event. The procedure is as follows:
_ObjectCallMethod(ObjectByName("AN<##>"),"Navigate2","<file>"); 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"); |
Keywords: |
Related Links
Attachments