Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

3d controls in MS6 not working in Delphi 6

I install the MS6 demo and when changing any activex controls to a 3D style and compile the project the controls returns to a 2D style. Also If I try to export the Style to a file it changes the look of the control back 2d and saves it as 2d. This happens to all
ActiveX controls with the 3d style feature. Is this what is meant when NI says Delphi ActiveX container is not completely compatabile with Measurement Studio ActiveX controls?
0 Kudos
Message 1 of 11
(4,719 Views)
Also to note same problem if I try to use an MS6 activeX control in Labview. Appears now it's not a problem with Delphi 6 alone.
0 Kudos
Message 2 of 11
(4,723 Views)
Very strange. I had no problem using the graph with 3D Styles at all in LabVIEW or Borland. Here is the VI I used to test in LabVIEW. See if the ActiveX graph control has a 3D style on your machine. Have you tried this on another machine?

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 3 of 11
(4,723 Views)
OK, Looks and runs as should. But, left click on graph and choose CWGraph then Export Style. Doing This changes the graph back to 2d. Try then to import the saved style and it stays in 2d.

Brian
0 Kudos
Message 4 of 11
(4,723 Views)
Someother things to mention is with your example you sent you cannot make any annotations. They do not show up. Similar problems in Delphi with annotations. I can
setup some line annotations in the properties and apply them. They show up on the graph. But once I compile and run the application the annotations do not show up on the running application's graph. I'm going
to mention here that I'm running Labview and measurement studio on a Windows NT4 system. Not that I think it might have something to do with my problems with activex controls. I don't know yet.

Thanks
Brian
0 Kudos
Message 5 of 11
(4,723 Views)
I just noticed you were using the demo of MS6. This must be an issue with the demo version since everything is working with me. I will consult with the developers here and see if one of them can explain why this is happening in the demo version.

Chris
0 Kudos
Message 6 of 11
(4,723 Views)
I think that this might be an issue with persistence in demo mode. Did you have a previous version of Measurement Studio installed before you installed the demo? Also, look in the registry under HKEY_LOCALMACHINE\SOFTWARE\National Instruments\ComponentWorks/CWUI\CWSaveAs. You should see several keys where each key is a GUID. Select each one and look at the Version value. What are these values? Alternatively, you could select the CWSaveAs key, go to the Registry menu, click "Export Registry File ...", set the "Save as type" option to "Win9X/NT4 Registration Files (REGEDIT4)", then post the contents of this file so we could take a look at it.

- Elton
0 Kudos
Message 7 of 11
(4,723 Views)
Also, when did you install the demo? This behavior could potentially be because the demo has expired.

- Elton
0 Kudos
Message 8 of 11
(4,723 Views)
Try downloading the MStudioLicenseFixer utility and verify which controls have licenses, evaluation licenses, or broken licenses. This utility may help solve your problem. If not, please post the results this utility lists to help narrow down the problem. Thanks.

- Elton
0 Kudos
Message 9 of 11
(4,723 Views)
Yeap, had component works 1 installed before and it had been updated to version 6 Demo. Had a demo license said after 30 days it would revert back to 1.0 license. The License Fix utility fix everything. Now it's working as it should. Much appreciated. It was driving me crazy. Thanks for the help.
0 Kudos
Message 10 of 11
(4,723 Views)