View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Keith Willshaw Keith Willshaw is offline
external usenet poster
 
Posts: 170
Default 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