LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I can not run the example cvi\samples\reportgen

Serval days ago I update my CVI5.0 to CVI6.0,I saw an example which generate report,when I run it,I always failed at NI_ReportNew();when I run submenu of tools--
Create ActiveX Server,I failed again ,an message box show an interal error,and then labwindows/CVI closed.
I can run the example successfully in the others computers,I don't know why?
In addtion,I want to generate a report that can be previewed ,how to do?I can no find any example about this.
0 Kudos
Message 1 of 4
(3,244 Views)
Our report generation library does not have preview capabilities. It is for generating simple text reports programmatically. If you need preview, you should use Microsoft Word or another rich featured reporting tool for your reporting. If you want to use Word, we include a Word reporting library that you can find in cvi\samples\activex\word\wordreport.fp. As for the error, it sounds like something is corrupted on your system or did not install properly. Try removing and reinstalling CVI. If the problem persists, contact NI tech support and we will try to reproduce the problem here.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,244 Views)
Chris Matthews:
Thank you every much!
This afternoon i installed vc6.0 on my computer,I can run the example,and can run the submenu---create ActiveX Server.(my system is win98-2)the others computers on which I ran reportgen.prj successfully servals days ago also have vc6.0,I want to know if cvi6.0 need vc6.0's file to support?
0 Kudos
Message 3 of 4
(3,244 Views)
It shouldn't. It uses the VC++ and MFC runtimes, but those should have been installed with the OS. Maybe they weren't.

Chris
0 Kudos
Message 4 of 4
(3,244 Views)