LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Get handle from ActiveXServer (labwindow) under Excel

Hi, I would like to get the handle from ActiveXserver.

I've a software build with Labwindow CVI and this one have a ActiveX server.
In my source code, I use CA_InitActiveXServer(hinst, param_x....) to initialize the server, after that, I've different User's ActiveX server functions.
In this server functions, I get back the handle with CA_serverGetObjHandleFromIface and it's works great.


I've to use Excel to automation this software.
I don't know if I'am right but I think I've to add  the .exe of my software Excel ( Excel is the ActiveX Client) . After that I would like to use the differents fonctions to automation my soft.

My problem: I don't know how to get the handle of my software.
My thought : When the software is launch, I can get the handle then use ActiveX server functions to automation this one.

If anyone can help me 😉

Best.

Reply in english or french

Sylvain

 

0 Kudos
Message 1 of 2
(3,276 Views)

I guess you try to call exe from VBA. You can google "call exe from vba".

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