LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect MSWord application is running in Labwindows/CVI?

Hi, Folks:
I am using Labwindows/CVI 8.0 on Windows 2000 Pro. I am trying to generating Word report.
How to detect MSWord is running? Can I retrieve the appHandle from the running MSWord that is invoked out my application just like in VB?
thanks
0 Kudos
Message 1 of 2
(3,089 Views)

You can use EnumWindows() in the SDK to find other active programs.  Here is a link to an example that used it

http://forums.ni.com/ni/board/message?board.id=180&message.id=14043&requireLogin=False

GetWindowText() in the SDK can be used to get the title of applications window.

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