H
Hexman
In my program I have several labels that I want to update with
information that is being processed in a calculation module. I have
code similar to the following in my module. As it goes through its
process, I would like to show an update to the counts that are being
generated to show progress.
Code in a module........
cntClasses = cntClasses + 1
cntTrials = cntTrials + 3
Form1.lblCntClasses.Text = Format(cntClasses, "###,###")
Form1.lblCntTrials.Text = Format(cntTrials, "###,###")
End Code.......
I get errors on the "Form1.lbl......" statements which says "Reference
to a non-shared member requires an object reference.".
How do I rectify this? Do I have to refresh Form1 again?
Code examples or suggestions?
Sorry for the newbie questions.
Hexman
information that is being processed in a calculation module. I have
code similar to the following in my module. As it goes through its
process, I would like to show an update to the counts that are being
generated to show progress.
Code in a module........
cntClasses = cntClasses + 1
cntTrials = cntTrials + 3
Form1.lblCntClasses.Text = Format(cntClasses, "###,###")
Form1.lblCntTrials.Text = Format(cntTrials, "###,###")
End Code.......
I get errors on the "Form1.lbl......" statements which says "Reference
to a non-shared member requires an object reference.".
How do I rectify this? Do I have to refresh Form1 again?
Code examples or suggestions?
Sorry for the newbie questions.
Hexman