I am trying to insert a timer object into a class that I created and having all sorts of problems doing it. Here is what I was trying:

Private withevents timer1 as timer

Then in one of the subs, I wanted to do the following

set timer1 = new timer

However, when I try it, it does not recognize the timer as a valid control. How do I add the timer as a valid control to my class?

Bill Stripp
[email protected]