NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Donet Assembly Accessed as Activex

Hey All,

I ran into a strance occurance recently (for me anyway). I have some Dotnet 2.0 assemblies supplied by a vendor. To use these, I must access them through a registered Activex automation server. It seems like it is using an interop call to an Activex control embedded in a Dotnet assembly...or something like that. 

 

When I write a VB app, I can just call the Dotnet assembly. 

 

Can anyone explain this type of behaviour or point me in the right direction.

 

Thanks,

James

0 Kudos
Message 1 of 3
(3,262 Views)

If the dotnet assemblies are registered as ActiveX COM servers you should be able to access and call them using the ActiveX adapter. You can probably access them with the .NET adapter too, but it sounds like that is not how they are designed to be used so you are probably better off using the ActiveX adapter.

 

This all assumes that what you are asking is how to use these assemblies directly from TestStand. If that is not what you want to know please be more specific.

 

Hope this helps,

-Doug

Message Edited by dug9000 on 11-16-2009 10:28 AM
0 Kudos
Message 2 of 3
(3,252 Views)

Hey Dug,

Thanks for the response and that is what I was asking. It still doesn't work, but that is up to the developer of the assembly.

Thanks,

Jim

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