S
salportaro
Hello:
Here is the situation. VB.NET
I have several forms and I have a XML file that can start with a
particular for for debugging/layout reasons. This is a mdi project.
Normaly you would load a form as follows:
Dim frmT As frmTrans
frmT = New frmTrans
frmT.formDate = Now.Date
frmT.MdiParent = Me
frmT.Show()
Thus you could have a menu option to kick off a child form. What I
need is a way to have the form class as a varible name. Such as:
dim f as string = "frmTrans"
Dim frmT As f
frmT = New frmTrans
frmT.formDate = Now.Date
frmT.MdiParent = Me
frmT.Show()
Is there a way of doing this?
Thanks,
Sal
sfp04212005
Here is the situation. VB.NET
I have several forms and I have a XML file that can start with a
particular for for debugging/layout reasons. This is a mdi project.
Normaly you would load a form as follows:
Dim frmT As frmTrans
frmT = New frmTrans
frmT.formDate = Now.Date
frmT.MdiParent = Me
frmT.Show()
Thus you could have a menu option to kick off a child form. What I
need is a way to have the form class as a varible name. Such as:
dim f as string = "frmTrans"
Dim frmT As f
frmT = New frmTrans
frmT.formDate = Now.Date
frmT.MdiParent = Me
frmT.Show()
Is there a way of doing this?
Thanks,
Sal
sfp04212005