Page 1 of 1
Topic 200
Posted: Thu Apr 15, 2010 1:28 pm
by NeedHelp
EDIT!!!
How can i fix like this:
IO.File.WriteAllBytes(TextBox1.Text, My.Resources.MyAppInstallTest)
Textbox 1 = Location
+ /
Textbox 2 = Name
How can i do that like
IO.File.WriteAllBytes(TextBox1.Text,/,Textbox2, My.Resources.MyAppInstallTest)
Re: Topic 200
Posted: Thu Apr 15, 2010 1:46 pm
by Bad_Dogz
What are you trying to do?
Re: Topic 200
Posted: Thu Apr 15, 2010 2:15 pm
by Agust1337
NeedHelp wrote:EDIT!!!
How can i fix like this:
IO.File.WriteAllBytes(TextBox1.Text, My.Resources.MyAppInstallTest)
Textbox 1 = Location
+ /
Textbox 2 = Name
How can i do that like
IO.File.WriteAllBytes(TextBox1.Text,/,Textbox2, My.Resources.MyAppInstallTest)
Hmm, have you tried to do:
IO.File.WriteAllBytes(TextBox1.Text &Textbox2, My.Resources.MyAppInstallTest)
Re: Topic 200
Posted: Thu Apr 15, 2010 2:46 pm
by NeedHelp
Didnt work:
Operator '&' is not defined for types 'String' and 'System.Windows.Forms.TextBox'.
Re: Topic 200
Posted: Fri Apr 16, 2010 9:14 pm
by Agust1337
NeedHelp wrote:Didnt work:
Operator '&' is not defined for types 'String' and 'System.Windows.Forms.TextBox'.
try adding a +
IO.File.WriteAllBytes(TextBox1.Text + Textbox2, My.Resources.MyAppInstallTest)
Re: Topic 200
Posted: Fri Apr 16, 2010 10:50 pm
by Diazepa
Yeah, that do sound more right
Re: Topic 200
Posted: Sun May 02, 2010 4:59 pm
by mandai
Textbox2.Text you mean?