G
Guest
When loading my project i get the following error message.
The form referred to itself during construction from a default instance,
which led to infinite recursion. Within the Form's constructor refer to the
from using "Me.".
I have a main form named frmMain. I have another form named frmProjects.
Within the form frmProjects I have a combo box event called
_EditValueChanged, which makes a call back to a Public Procedure in frmMain
called frmMain.sDisplayProjects, which display values on the frmProjects form
from the frmMain form. I am also doing a similar thing in a form named
frmGroups.
What I noticed is if I comment out the code in my _EditValueChanged event on
the frmProjects from, the error goes away. Is it illigal to have a event in
one form call a Public Procedure in another form that in turn populates
controls in the calling form?
I hope what I have said makes some sense.
The form referred to itself during construction from a default instance,
which led to infinite recursion. Within the Form's constructor refer to the
from using "Me.".
I have a main form named frmMain. I have another form named frmProjects.
Within the form frmProjects I have a combo box event called
_EditValueChanged, which makes a call back to a Public Procedure in frmMain
called frmMain.sDisplayProjects, which display values on the frmProjects form
from the frmMain form. I am also doing a similar thing in a form named
frmGroups.
What I noticed is if I comment out the code in my _EditValueChanged event on
the frmProjects from, the error goes away. Is it illigal to have a event in
one form call a Public Procedure in another form that in turn populates
controls in the calling form?
I hope what I have said makes some sense.