Maybe you didnt understand the title, but my question is : I have an Builder. This builder creates an output (.exe) which uploads my pictures folder to the FTP-Server. I actually want to know how to use the textboxes from the builders form to get the credentials into the source code which is going to compiled?
Builder Form --> TextBox (I will type in the credentials) ----> Input of the TextBox will be used as the log in credentials for the FTP-Server in the source code which is going to be compiled.
How can I do that? If I just say
Temp.AppendLine(@"request.Credentials = new NetworkCredential(textBox7.Text,textBox8.Text);");
I get an Error because the output cant find the textBox...