05-24-2007 02:48 PM
05-24-2007 02:54 PM
You can find your anser here: http://digital.ni.com/public.nsf/allkb/E5726FB3FD4ADF3586256F0E0069AAA8
05-24-2007 03:04 PM
05-24-2007 03:10 PM
Thanks for the responds, but the application I'm trying to check is not vi. It's actually a database file.
Thanks,
05-24-2007 03:13 PM
OK, but is this database file opened from within an application, and is that application running? Then the tasklist command will tell you that.
If you want to see if a specific window is open you can call the Windows API (I'm still assuming you're in Windows) to try to get a handle to the window name. If you get a handle, the window is open. You can use the Windows Utilities for this.
05-24-2007 03:28 PM - edited 05-24-2007 03:28 PM
Thank you very much. This resolves my problem! Thanks again.
Message Edited by tgif on 05-24-2007 03:29 PM