Hello everybody, hope I don't wrong anything.
I'm trying to create a program in VB.NET and I'm going crazy, so if anyone could help me he would make a great favor!
Here's the question : I have two form on my project;
In form1 there is two button and one textbox, in form2 there is just one label.
I want that after I insert a name on the textbox on form1, by pressing the first button the name inserted goes copied into the label on the form2 (and I did this ;) ) and by pressing the second button it appear a savefiledialog that allow me to save an .exe file of my form2 (with the label changed text i chose before).
So, how can I save a form into .exe depending on the modified value I insterted before?
I tried by copying the source of form2 and form2.designer.vb into a .txt file in My.Resources and after I tried to compile it with the CodeDom Compiler but it doesn't work, it appears so many errors and seems it cannot compile vb.net strings (?)
So I don't know if there is any methods to do this.
Maybe is easy but I'm really getting crazy.
Hope someone could help me, any idea or any tips, don't hesitate to ask if you didn't understand everything, I'll try to explain better.
Thanks to anybody and sorry my bad english.