Hi Gang
I am working on an activeX control that has several forms in it. What I would like to do is be able to address objects that are on the usercontrol1 object from the forms but I get object required or "with block with out object". So I then tried declaring my timer control as Public in a module and received the same type of error.
My code was
UserControl1.RefuseTime=True
and later on I had a modlue with
Public Timer1 as Timer
and received the same type of error message as above when I tried to access the timer.
Also, how do I allow other activeX controls to access values and methods and receive events in my controls?
Ken
I am working on an activeX control that has several forms in it. What I would like to do is be able to address objects that are on the usercontrol1 object from the forms but I get object required or "with block with out object". So I then tried declaring my timer control as Public in a module and received the same type of error.
My code was
UserControl1.RefuseTime=True
and later on I had a modlue with
Public Timer1 as Timer
and received the same type of error message as above when I tried to access the timer.
Also, how do I allow other activeX controls to access values and methods and receive events in my controls?
Ken