LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX and AppBuilder

Hello.

I am trying to create an ActiveX automation server in LabVIEW. I am
able to load my VI in LabVIEW and call it just fine from multiple
automation clients (C++ Builder, VB, and LabVIEW). But I'm having
trouble getting that behavior once I've used Application Builder to turn
the VI into an executable. Yes, I remembered to:
a) Check the "Enable ActiveX server" box in Application Builder.
b) Name the executable and ActiveX type in App Builder something
sensible.
c) Build an install program.
d) Run the install program.
e) Reboot.
f) Run the executable.
g) Check the Classes and other applicable parts of the Registry to make
sure my type has been registered.

When I create a new VI and use the ActiveX VIs to open a reference to my

new automation server, I am able to browse into the TLB and find my
object. I'm able to get both Property and Invoke nodes to display
correct lists of properties and methods. When I run a simple client VI,
though, my executable loads and shows its panel, and then the Open
Reference fails, saying that "a type library or dynamic-link library
cannot be found." It won't mention the name of the missing DLL or TLB;
I suspect that a simple wayard file isn't the real problem here.

Has anyone encountered this behavior before? Any advice?

Thanks in advance,

Ian Dees
undees@hotmail.com
0 Kudos
Message 1 of 1
(2,761 Views)