S
Sugan
Hi all,
I'm converting a VB 6 exe project to a VB 2005 project.
One main functionality in VB 6 that gives errors in VB 2005 project is
as follows:
In VB6, i have a initial form called frmApplication that loads up.
There are two other forms Form1 and Form2. Based on the user settings,
frmApplication then loads either Form1 or Form2. Form1 and Form2
differs only by appearance. What i mean, all the controls in both the
forms are same including the name except there position of the control
on the respective forms.
When frmApplication is loaded, it creates a object of Form1 or Form2
depends on the setting and assigns to frmObject.
Now in VB6, i access the controls in Form1 or Form2 in runtime using
frmObject.lblName.Caption = "Somename"
While in VB 2005, i'm not able to refer the controls in the similar
manner. How is it possible to get the same functionality in VB 2005.
Thanks,
Sugan.
I'm converting a VB 6 exe project to a VB 2005 project.
One main functionality in VB 6 that gives errors in VB 2005 project is
as follows:
In VB6, i have a initial form called frmApplication that loads up.
There are two other forms Form1 and Form2. Based on the user settings,
frmApplication then loads either Form1 or Form2. Form1 and Form2
differs only by appearance. What i mean, all the controls in both the
forms are same including the name except there position of the control
on the respective forms.
When frmApplication is loaded, it creates a object of Form1 or Form2
depends on the setting and assigns to frmObject.
Now in VB6, i access the controls in Form1 or Form2 in runtime using
frmObject.lblName.Caption = "Somename"
While in VB 2005, i'm not able to refer the controls in the similar
manner. How is it possible to get the same functionality in VB 2005.
Thanks,
Sugan.