LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I access VB.Net DLLs from CVI 6.0

Hi,
 
Iam trying to access a VB.Net DLL from CVI version 6.0 but Im having no success. Does anybody have any suggestions or sample code ?
 
Thanks in advance
 
 
Kev
0 Kudos
Message 1 of 3
(3,098 Views)

CVI 8.0 has a 'Create .NET Controller' tool that can be used to create C wrappers to call .NET modules. If you do not have CVI 8.0, one possible solution is to create an ActiveX  (COM) wrapper for your .NET module using Microsoft tools like regasm and then use the CVI 'Create ActiveX Controller' tool to generate C wrappers to call via ActiveX. The following MSDN article has more information about createing COM wrappers (CCW) for .NET modules:

http://msdn.microsoft.com/netframework/programming/interop/default.aspx?pull=/library/en-us/dndotnet...

 

0 Kudos
Message 2 of 3
(3,079 Views)

Thanks , I had a look at this over the weekend and it looks like that will do the trick :smiley very-happy:

I managed to write a CCW'd DLL file and I will try using it in CVI today .

 

Thanks

 

Kev

0 Kudos
Message 3 of 3
(3,052 Views)