What causes an application to run in the background?

I have a ms access 2013 application. Something is causing it to run ion the background every 10 to 15 seconds. The small circle starts to revolve by my curser every 10 to 15 seconds. THe application can be in use or just sitting idel.
cssc1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
The most likely thing (I see this effect in a number of situations) is a background application updating something (like a database).

Open Task Manager and set the options to remain in tray when hidden. Check your processes and see what may sift to the top from time to time.

Open Resource Monitor from Admin Tools, click on CPU and let it run for a while. This will help you see what resources are running frequently.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Are you sure it's the Access app? John's suggestion should show you if that's the case, so be sure of that before you try anything else.

If you're sure it's the Access app, then:

Are you saying the Access application launches and runs, or that the Access application is already running, and you see the red circle every 10 - 15 seconds?

If it's already running, then the first thought is timer code in the application. Check all open Forms to determine if one of them has code in the Timer event.
0
hnasrCommented:
Hit Break key (if you have it in your PC) to stop execution of code, if any Access related is running.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
Access has lots of things going on in the background as far as maintaining the DB and cache, but from what you describe, it's more likely a timer event as Scott suggested.

 Normally you don't notice JET processing things in the background as you describe.

Jim.
0
Nick67Commented:
By rights, nothing, was my understanding.
I have the impression that VB/VBA code has a queue of events and that when the application loses focus, the events presently in that queue are processed, and then the queue remains empty until focus is regained.
Execution then begins again.

It is for this very reason that you cannot set up a form Timer() event to kick in and do stuff with any sort of assured certainty of execution.  When Access loses the focus, the queue will empty and the Timer event will cease until focus is regained.

So, if Access IS the culprit, it will likely be something you have coded in a loop that cannot end with a DoEvents bit in it.  The loop will be in the queue when Access loses focus, and because its end condition was not met before focus was lost, it'll keep on keeping on, as it were.

So, to test as @hnasr has suggested, throw a breakpoint into some procedure.  Run it, and leave the VBA stopped at the breakpoint.  Minimize Access.  No VBA will be executing.  Does your problem persist?  Yes--then Access is not the source.  No-then something in Access VBA is causing your symptoms.
0
JohnBusiness Consultant (Owner)Commented:
@cssc1 - Thanks and I was happy to help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.