NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Equivalent to VB's CreateObject

Is there a way to create an ActiveX object using TestStand without having to point to a type library?

For example, in VB, VBA, and VBScript, you can create an object using the following syntax:

set obj = CreateObject("Library.ClassName")

Is there a way to do this in TestStand? I have a COM Server that I'm trying to use that doesn't have a TLB associated with it, therefore it doesn't show up in the list of Automation Servers in the ActiveX Adapter dialog box.

I can access it via VB however.

Thanks in advance for any help.
0 Kudos
Message 1 of 2
(3,004 Views)
Jeff -
The Automation Adapter does not allow you to specify a server, class, or parameters without the type library. My only suggestion is to use a wrapper server in VB to assist you in working with this server that does not have a type library.

Scott Richardson
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(3,004 Views)