09-18-2013 03:25 AM
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
09-18-2013 08:47 PM
I guess you try to call exe from VBA. You can google "call exe from vba".