LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Activex for LV7.1 with VB.NET

Hi ,
I developed some Activex in VB6 without problems.
Now I have to write an Activex control with VB.net  and I have big problems. I have found some tutorial on the web, I have build a dll (ocx is not possibile), but when I try to insert the activex in the container I don't found it in the list displayed. I think it's also a problem about Activex registration. So, I need a step by step guide about developing an Activex control with VB.net and about its registration.
Many thanks for any suggestion.
 
Mario
 
 
0 Kudos
Message 1 of 4
(2,923 Views)
I don't believe you can create ActiveX controls with VB.NET - you'll be creating .NET controls. To have them hosted on the front panel of a LV application, you'll need LV 8.x, (8.0 was the first version that supported .NET controls on the front panel).

If you just want to create code to call (no front panel container), then you can use LV 7.x or later.

Let me know what it is you're trying to do and I can be more specific.
0 Kudos
Message 2 of 4
(2,917 Views)

Thank you for your reply.

I already used .Net control in LV 8.2, but now I have to add some functionality to a very large and complex SW developed with LV 7.1. I also tried to convert all to LV 8.2, but there is a lot of problem :

- some property nodes don't work (Invalid property value for the precision of a numeric indicator);

- the editing of a large vi is very very slow, and this is unacceptable;

- I used a tree control with Drop event, and now this event doesn't exist(wqrning : "You will no longer receive mouse up events after a drag and drop operation.  You will receive the Drag Ended event for the drag source control instead") . What is the behavoir of this control now ?

.....

So, if I can't create Activex with VB.net for LV 7.1, I have to convert all to LV 8.2... any suggestion about the conversion ?

Thanks and regards.

0 Kudos
Message 3 of 4
(2,910 Views)
Well, if you don't want to upgrade that project, you'll need to drop back to VB6 and create the ActiveX control that way.

Also, if you don't need to host the UI component (you just need to call methods and properties, etc), you can do that w/ VB.NET and LV 7.x.

Finally, if you do decide up upgrade to LV 8.2, I'd recommend posting your issues under seperate threads. You'll be able to get better feedback that way.
0 Kudos
Message 4 of 4
(2,902 Views)