LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft Office Graph Filter

Hello!
 
I am trying to handle Microsoft Office Word with LabWindows CVI 8.0, I can open a file, add text, tables, etc. Nevertheless I have had troubles to insert a Graph as image in Word. I am using "InsertGraph" function of wordrpt.prj from the Examples. Sometimes the function works correctly, but eventually a Microsoft Office Word Error appears.The pop-up error windows says:
 
Graphs Filter can not convert this file
C:\Program Files\....\MSWORD.OLB
 
I am using Office 2003.
 
Has someone worked on this?
 
I appreciatte your help? Thanks
0 Kudos
Message 1 of 4
(3,143 Views)
Do you need to insert it as a graph object or will an image suffice?
 
If you can use an image, you can export the graph into a supported image file format and then try inserting a picture in the Word document.
 
Otherwise, I can't really suggest anything except maybe to try regenerating the Word ActiveX server or to try an earlier version of Word to see if it is version dependent.
Martin Fredrickson
Test Engineer

Northrop Grumman
Advanced Systems and Products
San Diego, CA 92128
0 Kudos
Message 2 of 4
(3,129 Views)
Thanks Martin:
 
In my application it does not matter if I insert the graph as a graph object or as an image? But I think is better to do it as image.
 
First, I wll try to regenerating the Word ActiveX server. But I have not created any Active X Server in this project. Should I create a new ActiveX Server Wizard?
 
Greetings,
 
Mauricio
 
 
0 Kudos
Message 3 of 4
(3,088 Views)
You use the Create ActiveX Automation Server tool and generate the server that way. I suggest NOT overwriting the existing one because if it doesn't work, you may have some serious problems, so create it in a new directory.
Martin Fredrickson
Test Engineer

Northrop Grumman
Advanced Systems and Products
San Diego, CA 92128
0 Kudos
Message 4 of 4
(3,085 Views)