From: recep on
Hi all!!

in my windows form there should be two textbox and one button.

one textbox is for the name of new directory and the other one is for text file that should be placed in new directory with the name that user enter at previous textbox.

after the button is clicked, program should create a directory with the name entered at the first textbox and create a text file with the name entered at the second textbox .

can anybody advise me a tutorial or some codes to accomplish the task???

thanks in advance...


Submitted via EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .Net Tips and Tricks No. 26
http://www.eggheadcafe.com/tutorials/aspnet/8e390106-20d1-4b2b-be30-cde5d852348d/dr-dotnetskys-cool-net.aspx
From: Armin Zingler on
Am 05.03.2010 13:02, schrieb recep mansiz:
> Hi all!!
>
> in my windows form there should be two textbox and one button.
>
> one textbox is for the name of new directory and the other one is for text file that should be placed in new directory with the name that user enter at previous textbox.
>
> after the button is clicked, program should create a directory with the name entered at the first textbox and create a text file with the name entered at the second textbox .
>
> can anybody advise me a tutorial or some codes to accomplish the task???
>
> thanks in advance...

Don't know if you already read the documentation about file I/O:
http://msdn.microsoft.com/en-us/library/k3352a4t.aspx

(mainly sub topic Basic File I/O -> Common I/O Tasks)

Also see the classes and members in the System.IO namespace (object browser
serves well for this).

--
Armin