LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing COM Objects provided by an EXE server

Hello,
 
I need to control an application through COM. I did this before with Excel and other software and used LabView's ActiveX functions.
But this time I can't find the object I need when I browse the type library.
 
The COM server actually is registered. But it's an "EXE Server" (I used "COM Explorer" to browse all registered COM objects - and the one I need is listed under EXE Servers).
 
 
Is there any possibility to gain access to this interface?
 
Thanks!
 
 
Regards,
 
Robert
0 Kudos
Message 1 of 5
(3,268 Views)
Hi Robert,

let us see, if I understand your problem.
You are using the COM Explorer to see all your ActiveX interfaces.

Now you want to get an access out of Labview to this COM Explorer???

I installed the COM Explorer and tested it with Labview. But I cannot access the COM Explorer.

Why do you need to use this Explorer?

Best regards
Dippi
0 Kudos
Message 2 of 5
(3,242 Views)
Hi,

No I don't want to access the COM Explorer. I just used it to look if the COM Server of the application I want to access is registered. That's all I'm doing with the COM Explorer.

The problem is that when browsing the ActiveX Classes in LabView (see attached img) I can't find the wanted application.

Is it possible, that LabView can't access it because it's "just" an COM- and not an ActiveX object?


Regards

Robert
0 Kudos
Message 3 of 5
(3,238 Views)
Hi Robert,

there is not really a difference between ActiveX object and COM object.
All COM objects (ActiveX objects) should be accessible.

If you can't see the object, but you know that you had register it, there are only two possibilities:
1) Something is wrong with the object -> it is not really standard
2) You can try to browse manually to the object.

Use the "Browse" Button (see Browse.jpg) and select the object manually.

If that doesn't work, there must be something wrong with the object.

Best regrads
Dippi
Download All
0 Kudos
Message 4 of 5
(3,233 Views)
hi there
 
sometimes the list of the registered servers in the "Select object from type library" is NOT in alphabetical order, so take a look at the entries at the end of the list. The entry should however have the same name in any kind of COM browser/object selector etc..
 
If you can't find the server in the list browse to the exe's .tlb file
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 5 of 5
(3,228 Views)