| Author: Payal Jain 04 Jun 2008 | Member Level: Gold Points : 1 |
instead of System.IO.File.Create("C:\\gg//textbox1.text");
we will be using it like this System.IO.File.Create("C:\\gg//" + textbox1.text);
|
| Author: antogladwin 13 Jun 2008 | Member Level: Silver Points : 2 |
hi payal,
its ok frnd... in that we check whether that directory is already available or not...if not only create or display the message...k friend..
System.IO.File.Create("C:\\gg//textbox1.text"); this line z also available in my coding(3,4 lines). anyway thank u for ur comments.. thank u,
|
| Author: Payal Jain 13 Jun 2008 | Member Level: Gold Points : 2 |
but my frnd ...i mean to say...if the filename is present in textbox....then directory create command will not have parameters as u passed ...in your case it will create a file with name "textbox.text"...not with the name given in your textbox.....
so to create it with the name from textbox....we will write it as i said
System.IO.File.Create("C:\\gg//" + textbox1.text);
hope u got my point
|
| Author: Kapil Dhawan 16 Jun 2008 | Member Level: Gold Points : 1 |
Hello, Nice piece of Code. Thanks for sharing your knowledge with us.
Regards, Kapil
|
| Author: Kapil Dhawan 16 Jun 2008 | Member Level: Gold Points : 1 |
Hello, Nice piece of Code. Thanks for sharing your knowledge with us.
Regards, Kapil
|