|
-
Dec 12th, 2002, 10:49 AM
#1
Thread Starter
Addicted Member
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
-
Dec 18th, 2002, 12:18 PM
#2
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?
-
Dec 18th, 2002, 01:53 PM
#3
yay gay
it'd evolve a lot of code but it's perfectly possible
\m/  \m/
-
Dec 18th, 2002, 02:03 PM
#4
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.
-
Dec 18th, 2002, 05:06 PM
#5
Thread Starter
Addicted Member
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?
-
Dec 18th, 2002, 06:17 PM
#6
Registered User
Have you tried serialization?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|