NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Mitch7
Posts: 28
0 Kudos

ActiveX controls reverted to Evaluation Copy

I inherited a rather complex MFC app that uses 2 NI graph controls to display graphs of data. I've been making changes to the app for the last few weeks with no problems. Today, for the first time,  I used the VS designer to move around a few controls in the main window (this is the window that has the NI controls). Immediately I saw a popup about this being an evaluation version of the NI controls. Now I'm stuck and I don't know how to get back to my real licenses.

 

I'm using VS2010, W7 and MS2010

 

I do have MS installed and this is what it says in the Measurement Studio -> license window

 

The following licensed Measurement Studio items have been installed.  
Component: Status:
NationalInstruments.Analysis.Professional    Licensed  
NationalInstruments.Net                              Licensed  
NationalInstruments.NetworkVariable            Licensed  
NationalInstruments.Tdms                           Licensed  
NationalInstruments.UI.WebForms               Licensed  
NationalInstruments.UI.WindowsForms         Licensed 

 

After a bit of googling, I tracked down and downloaded MSLicenceFixer.exe from the NI site. I ran the "fixer" and it listed one item in the Licensed Controls list:

"3D Graph control 8.0". It said that this control is correctly licensed.

The other two lists in the "fixer" app, "broken Licenses" and Demo Licenses" were empty.

 

So what do I do now? How do I get rid of the Evaluation license that just popped in today?

 

Thanks,

 

Mitch

 

   
   
   
   
   
   
   

 

 

 

 

Member
JD_war_eagle
Posts: 126
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

Hi Mitch7,

 

Are you on Windows 7 32 or 64-bit?  Were you ever able to sucessfully use the Measurement Studio ActiveX controls on this machine?  Are you able to use the Measurement Studio controls in a new project you create on the machine?  You may need to remove the controls from the project and reinsert them or possibly unregister the ActiveX controls using the regsvr32 command and reinstall Measurement Studio.  The additional troubleshooting steps you can take are detailed here: http://digital.ni.com/public.nsf/websearch/60B1DE0C85624B55802568D90031AF89?OpenDocument.

Justin D
Applications Engineer
National Instruments
http://www.ni.com/support/
Member
Mitch7
Posts: 28
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

>Are you on Windows 7 32 or 64-bit?  

 

Win 7/64

 

>Were you ever able to sucessfully use the Measurement Studio ActiveX controls on this machine? 

 

As I said in the original post, I was updating and building the project with out any problems. It was only when I opened the "designer" for the dialog that had the NI activeX controls that I started having this problem.

 

> The additional troubleshooting steps you can take are detailed here:

 

The KB article you referenced doesn't apply. because I was never using the evaluation version. From the article:

"I was using Measurement Studio ActiveX evaluation controls in my project, and then I bought Measurement Studio 6.0."

 

> You may need to remove the controls from the project and reinsert them

 

If I remove and reinsert, won't I have to reconfigure the control? I inherited this old project just for maintenance purposes. I have no prior MFC or NI experience and really don't want to get too involved in trying a bunch of things things that MAY work. (I do have experience with NI drivers, but that's a whole different story)

 

One other clue that may help. When I run the NI License manager, it says I have two things installed:

 1. Measurement Studio 8 -> DAQ assistant

 2. Measurement Studio 2010 -> Prof. Developement installed

 

When I run the License Fixer it says I have a properly installed license for

   3D Graph control 8.0

Is it possible that 3D Graph control 8.0 is treated as an eval version with the NEWER MS 2010?

 

Thanks again for any help.

 

Mitch

 

 

 

 

 

 

 

 

 

 

 

Member
Luke_W
Posts: 73
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

Hey Mitch,

 

I think the KB might still be pertinent here. The issue can occur when there is more then one version of Measurement Studio installed, in your case version 8.0 and 2010. Try unregistering the control and reregistering it for a potential quick fix. If that doesn't work, you should uninstall 8.0 and reinstall it. This will allow the control to see its licensing under the 8.0 version. Let me know if this works

 

Kind Regards,

 

Luke 

Member
Mitch7
Posts: 28
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

I unregistered and reregistered the two ocx's


D:\>REGSVR32 /U C:\Windows\SysWOW64\cw3dgrph.ocx
D:\>REGSVR32 /U C:\Windows\SysWOW64\cwui.ocx

D:\>REGSVR32 /i C:\Windows\SysWOW64\cwui.ocx
D:\>REGSVR32 /i C:\Windows\SysWOW64\cw3dgrph.ocx

 

Unfortunately the reregistering gave me an error 

"the entry-point DllInstall was not found. Make sure That cw3dgrph.ocx is a valid DLL or OCX file and then try again"

 

So I tried to run the installer. All I had was the MS 2010 SPI installer CD. I figured it must have the latest, including those two ocx's

 

But then the installer wouldn't run because it NEEDED ACCESS TO MY DOCUMENTS! I presume it was refused because My Documents is maintained by our IT department (it's on a file share) and thus IT doesn't want an installer running in there.And for once I agree with IT.

 

All I need are two active X controls! Whatever NI was going to install in My Documents, I probably don't need it. or at least give me an option to bypass that part

 

Any other ideas?

 

Mitch

 

 

 

 

 

 

 

 

Member
Mitch7
Posts: 28
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

I'm still trying to figure this out. While reading through KB articles I found this one about "legacy" support. Do you think this could apply to me? Is it possible that ActiveX/MFC apps are no longer supported unless you apply for and receive this "legacy" package?

 

It's possible that the guy I inherited this project from had this kit. Is there a way to find out?

 

Mitch

Member
Luke_W
Posts: 73
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

Hey Mitch,

 

You will need to request MFC support to get the legacy ActiveX controls to work. The 2010 Measurement Studio installer without legacy support only installs evaluation modes of these controls. To find more information on how to get MFC support, go to www.ni.com/info and type in mfcsupport as the info code

 

 

 

Member Bum
Member
Bum
Posts: 14
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

was this ever sorted out?  i have the same problem.

Member
MilanR
Posts: 139
0 Kudos

Re: ActiveX controls reverted to Evaluation Copy

Hi Bum,

 

Have you tried the same steps as Mitch7? If you are receiving the same error then trying the steps outlined so far may be helpful.

 

Most importantly, if you are creating a Visual C++ MFC application using Measurement Studio 2010 then you will have to request the MFC Support for Measurement Studio 2010 as mentioned above. This is because Measurement Studio 2010 no longer includes Visual C++ support by default, but the required ActiveX components can be requested via the instructions posted above by Luke W for Measurement Studio 2010.


Milan
Applications Engineering
National Instruments
ni.com/support
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page