Does anyone have code that I can insert into VB6 to list all processes?
I have a VB6 application running on 70 different server workstations around the world. 95% of the time, the application will run in about 10 minutes, but I have noticed that sometimes the application is running for as many as 8 or 10 hours. The job runs from a scheduled task in the early morning (i.e. 5AM) before users come to work.
I have a log file that tells me what actions are being taken internally, and when there is a long delay, it is always while accessing a MS Access 2000 database that is located on the server. Normally it takes 1/10 th of a second to process 30 records, but when it's bad, it may take 2 minutes.
Since the job runs unattended and the problem is so random, I can't ask someone to sit and watch.
My first idea is to be able to list all processes that are running, but I need some code that will do that. I tried the code from another thread (Set objWMIService = GetObject...) but it didn't run on the server.
Thank you for any suggestions!
"Have a great day today and a better day tomorrow!
I have a VB6 application running on 70 different server workstations around the world. 95% of the time, the application will run in about 10 minutes, but I have noticed that sometimes the application is running for as many as 8 or 10 hours. The job runs from a scheduled task in the early morning (i.e. 5AM) before users come to work.
I have a log file that tells me what actions are being taken internally, and when there is a long delay, it is always while accessing a MS Access 2000 database that is located on the server. Normally it takes 1/10 th of a second to process 30 records, but when it's bad, it may take 2 minutes.
Since the job runs unattended and the problem is so random, I can't ask someone to sit and watch.
My first idea is to be able to list all processes that are running, but I need some code that will do that. I tried the code from another thread (Set objWMIService = GetObject...) but it didn't run on the server.
Thank you for any suggestions!
"Have a great day today and a better day tomorrow!