Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

What ocx file or dll file do I need to execute the program using NIReport class?

I use VisualC++ with measurement studio to develop my application. I used install shield to create an instalation package so I can install in other PCs. I can print the application from the development computer but I can not print from other PCs I installed this application. When I tried to print, the error message "class not registered" poped up on the screen. What file should I include in the install shield to make other computer reconize the NI Report Class?
0 Kudos
Message 1 of 2
(3,107 Views)
DrObb,

You need to install and register NiReports.dll. If you are using a version of InstallShield that generates Windows Installer (.msi) installers, there is a merge module (.msm) on your MeasurementStudio CD to install NIReports. The .msm is Redist\MeasurementStudio\MSMs\NIReports.msm. Otherwise, you can copy the dll from its default install location in Program Files\National Instruments\Shared\NI-Reports and register it on the target computer using regsvr32. Check the InstallShield documentation on how to have the file registered by regsvr32 in your installer.

Hope that helps.

TonyH
Measurement Studio
Message 2 of 2
(3,107 Views)