Klatuu's suggestion should work if you want to find out whether the script
or program launched by a task is currently active. If you want to get at the
list of scheduled tasks, it appears to be possible up to a point using WMI -
but there are limitations and complications. See e.g.
http://www.microsoft.com/technet/scr...4/hey0922.mspx
http://www.microsoft.com/technet/scr....mspx?mfr=true
After reading those, you'll know about as much as I do on this topic.
"ykffc" <(E-Mail Removed)> wrote in message
news:A458EFF6-09B1-4FDA-8B58-(E-Mail Removed)...
>I am trying to find a way to detect the status of a scheduled task defined
> under Windows Environment. Is there some API available for Access (VBA)
> or
> other programming language (C, Java, etc.)?
>
> I could think of other means to workaround and solve my problem but I
> prefer
> employing an API. For example, I want to know if the task is currently
> running, and if it is, when does the task starts - by means of program. Do
> not reply if you could only mention to me that these data could be read
> off
> the screen after opening up the scheduled task from the Control Panel.
>