That gives you the Classname. You should be able to use the Classname in
conjunction with the FindWindow API call to get its process. See
http://access.mvps.org/access/api/api0007.htm or
http://access.mvps.org/access/api/api0025.htm for examples.
"gargoyle60" wrote in message
news:(E-Mail Removed)...
On Tue, 3 Jan 2012 06:50:18 -0500, "Douglas J Steele"
<NOSPAM_djsteele@NOSPAM_gmail.com> wrote:
>See whether http://access.mvps.org/access/api/api0013.htm at "The Access
>Web" helps at all.
>
Thanks for the link, but it doesn't help. It shows the name of the
application but not its process
ID or task ID, which is what I need to stop/kill it later on.
Incidentally, the application (MBProbe) that I am starting via the Shell
gets minimized to the
systray and so I can't use AppActivate to get its focus, so I might not be
able to control it via
Access97 anyway.
All I wanted to do was start it at midnight and then shutdown (or kill it)
one minute before
midnight on the following day, then manipulate its output logs before
starting it again.
Doesn't look as if I can do that programmatically. Shame.