06-11-2006 06:14 AM
06-12-2006 07:46 AM
06-12-2006 08:11 AM - edited 06-12-2006 08:11 AM
Opps, wrong answer above.
I see your trying to convert the excel activex handle to an hwnd. I am not sure you would be able to call an SDK function using the hwnd for another application from CVI, but I could be really wrong about that also. I would have been looking for a property in the excel interface that you could set, or posting a message to the excel application. For anyone else reading this, is it reasonable to be able to call directly into SDK functions for another executing application using its window handle?
Message Edited by mvr on 06-12-2006 08:12 AM
Message Edited by mvr on 06-12-2006 08:17 AM
06-12-2006 08:46 AM
And while this may not be of any help at all, since I am posting somewhat useless or random information today (not a good monday), Luis describes how to get the windows handle and post a message to an application here in the link below. Of course if there is a quick way to get the hwnd directly from the activex handle as you had asked in your original question, most or all of this would not be required.
http://forums.ni.com/ni/board/message?board.id=180&message.id=23222&requireLogin=False
06-13-2006 01:55 PM