N
Neil
I need to run a process using a timer. The process needs to be running all
day long. We are looking for a way to ensure that the program is running,
and, if not, then relaunch it.
Some thoughts I had were:
1) Find a utility that runs in the background and checks periodically if the
db is running, and, if not, relaunches it.
2) Write some code in Access VBA or in VB that checks to see if the database
is open, launches it if it doesn't, and then closes itself. The small
program could be launched from Windows Scheduler every 15 minutes or so.
3) Other.
#1 would be ideal. Anyone know of anything like that? I figure there must be
something like this, given the need to run processes continually.
#2 would be fine. But, while I know I can check if Access is running by
using GetObject, I don't know how I would then check to see if that specific
database is open (or if there are multiple instances of Access running).
Any ideas?
Thanks,
Neil
day long. We are looking for a way to ensure that the program is running,
and, if not, then relaunch it.
Some thoughts I had were:
1) Find a utility that runs in the background and checks periodically if the
db is running, and, if not, relaunches it.
2) Write some code in Access VBA or in VB that checks to see if the database
is open, launches it if it doesn't, and then closes itself. The small
program could be launched from Windows Scheduler every 15 minutes or so.
3) Other.
#1 would be ideal. Anyone know of anything like that? I figure there must be
something like this, given the need to run processes continually.
#2 would be fine. But, while I know I can check if Access is running by
using GetObject, I don't know how I would then check to see if that specific
database is open (or if there are multiple instances of Access running).
Any ideas?
Thanks,
Neil