Hi,
Thanks for clicking.
I've converted over my appication from vb6 to vb.net.
As part of the upgrade wizard it uses DefInstance property to reference controls within a form from outside that form.
I've hit problems with DefInstance when initializing a new instance of a form. In short it ends up in a repeating loop due to the initialisation of the form calling DefInstance for a control before form has been initialized properly
Is there a way around using DefInstance?? How are controls referenced from outside that form if creating vb.net project from new.
ASKER
Noticed this is still open.
Just for your knowledge. Have removed DefInstance by Form1.DefInstance with m_Form1.
Public m_Form1 As Form1
and then
m_Form1 = New Form1
Thanks as always for your help