|
-
Dec 21st, 2006, 07:58 PM
#1
Thread Starter
New Member
Object Creation Problem
I'm using VB6, and I'm creating a Class Module to hold various data. With that, I want to have a couple Timer objects in the Class Module. The problem is, I declare an object of data type Timer. Then after that, I'm not sure how come I can't set it. The only way it seems like it will work is if I set the variable an already existing Timer object on another form. But of course, doing that would defeat the purpose of having the Timer variable in the Class Module.
To better explain this here is what I have so far:
Code:
Public tmrCount As Timer
Then when the class intializes, I would like the object to be created for use. There must be a way to set the object so it can be used without using a Timer on another Form. So is this possible in VB6?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|