On Timers and CPU Usage

G

Guest

Hi everyone,

I am trying to use a hidden form to check out certain events happening with
its OnTimer Event. The timer interval is set to 1000, i.e. one sec. Is that
going too hard on the processor ? The screens are acting crazy (flickering
and all), though the code is doing what I've asked of it. I'm sure the code
is very light.

The form is supposed to remain open till the User signs off. If I set the
TimerInterval to something less frequent, I'm afraid it may miss out some
action in between. What is the reasonable timer interval I can use for such
long sessions, not withstanding my apprehensions ?

(Access 2003, Windows Xp, Celeron 1.5g, 256 MB ram)
 
G

Guest

I would doubt the flickering is because of the timer. To test it, comment
out the code that start up the time and see if you notice a difference.

I don't know if there is a difference, but I have a timer event in my main
menu which is always open, but it is visible.
 
G

Guest

Sreedhar

There is a bug in Access 2003 running on Win XP that causes flicker. It
shows mostly when using tab controls with unanchored labels when you use
Themed form controls. That could be the root of your issue.

To stop it from happening, change all your unanchored labels to textboxes.
 
G

Guest

Hi,

That should settle the problem. I didn't know about the bug.
Thanks for the replies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top