-
Create a FOrm on the fly
is there a way in vb.net that i can save the a;; the form information in a txt file and then while the program is running get the info from the txt file and use it to create a form...If anyone understands what i am asking let me know how i can do it...Thanks
-
Do you mean the form code? Like you could do in VB6 with VBScript? Or do you mean just the form name and load it from the string?
-
it'd evolve a lot of code but it's perfectly possible
-
If you want the whole form code then maybe you could work out some kind of custom XML serializer to write/read it from a file. If you mean just load the form by name then that is much easier.
-
say that i want to save all the information for things like labels,pictureboxes,textboxes,ect.....in a text file and then at run time read from the text file and get the information that was saved then create a form to match that information....how would i do that?
-
Have you tried serialization?