i am creating a new ocx. It includes the control (CompMon.ctl), a form (frmProperties.frm) and a module (modMain.bas). In the module I have a procedure that needs to change the property of an object in the control file (CompMon.ctl), how do I access / reference the embedded object.
This is what I expected to work:
orCode:UserControl.tmrPing.Enabled = False
Neither option works. Simply, how can reference the objects and properties of the control from within an included module?Code:CompMon.tmrPing.Enabled = False
Thanks


Reply With Quote
