ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   API call to check other program is idle (https://www.excelbanter.com/excel-programming/274491-re-api-call-check-other-program-idle.html)

Keith Willshaw

API call to check other program is idle
 

"Robert Chapman" wrote in message
...

Hi,

I'm trying to automate a piece of software called QMF from
Excel. Using VBA SendKeys, setting the Wait-till-has-
effect parameter to True doesn't actually work. Rather
than using Application.Wait to delay a fixed amount at
each command (which would be very efficient since the
macro will be used on fast and slow machines) I'd like to
use an API call to check if QMF has finished the command,
i.e. to see if it is idle (or the whole system is idle).
Does anyone have such a routine?

Thanks,

Rob


If this is QMF for windows version 7
includes full OLE functionallity and you
can simply use automation to drive it

http://www.rocketsoftware.com/qmf/api_exams.asp?ID=1

Keith




All times are GMT +1. The time now is 09:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com