VB timer event - TechRepublic
General discussion
November 28, 2001 at 06:24 AM
dksj

VB timer event

by dksj . Updated 24 years, 5 months ago

I, a beginner with VB, developed a program that periodically checks a text file and uploads values into a form over a network. I am using a timer to run this code. The problem is, is that when the program is running but is minimized it steals the focus from the active application when the timed event runs. I want it to run in the background when it is not the active app,. How do I get it to do its job, without stealing focus? The event runs about every 30 seconds or so. Please include specific code syntax/object properties where possible.

Dan Kreiling

This discussion is locked

All Comments