Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

annotation.add crashes in cwgraph (cwui)

I own MS ver 3 and I got the demo for 6 so I could add annotations to my VB6 app. The annotation.add function crashes when the program is compiled, but works fine in the VB environment. Run time error 70 "Can't access item". Is this a bug or is it a dll/lib problem?
0 Kudos
Message 1 of 3
(4,633 Views)
Hello

The ocx might not have updated correctly. Annotations were added in version 6, so perhaps something did not install correctly. I would try installing the demo on a seperate machine to see if it still causes the problem. Also make sure that you have the correct version of the ocx on your machine. the cwui.ocx gets installed in the windows system32 folder. You can right click on it to check the version number.
Try adding annotations from the property pages and see if that any problems.
Another thing you could try is completly removing the MS 3.0 component from your machine. You can un-install the MS 6.0 demo and MS 3.0 from your machine. Dont reboot yet. Go into the system32 folder of Windows, use regsvr32 /u , via the commmand line to unr
egister the control. Delete the control only after it is unregistered. Reboot, and then install the MS 6.0 demo.

This would ensure that the correct ocx was installed on the machine, since we deleted the component from the machine.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(4,633 Views)
Have removed every trace of MS 3.0 and still same problem.
0 Kudos
Message 3 of 3
(4,633 Views)