T
tm
I have created a collection as follows:
Public pPrintMonthColl As Collection = New Collection
pPrintMonthColl.Add(checkBox1)
pPrintMonthColl.Add(checkBox2)
pPrintMonthColl.Add(checkBox2)
Now when I try to access a control in the collection as follows:
pPrintMonthColl(2).Checked = True
I receive the following error message:
Late binding; call could fail at run time.
How can I correct this?
tm
Public pPrintMonthColl As Collection = New Collection
pPrintMonthColl.Add(checkBox1)
pPrintMonthColl.Add(checkBox2)
pPrintMonthColl.Add(checkBox2)
Now when I try to access a control in the collection as follows:
pPrintMonthColl(2).Checked = True
I receive the following error message:
Late binding; call could fail at run time.
How can I correct this?
tm