calling form using formname
-
i have a string variable that contain form name.using that formname i want to call the form in the application.Is it possible?. can any one help me?.
-
i have a string variable that contain form name.using that formname i want to call the form in the application.Is it possible?. can any one help me?.
Dim d As New Form d.Name = "formname" d.Show()
-
i have a string variable that contain form name.using that formname i want to call the form in the application.Is it possible?. can any one help me?.
If you're thinking of doing this, it's usually a sign that your design needs to be rethought out. You should never be creating data in your application out of the names of classes in your code.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007