write to a new file at new user defined directory

  • Thread starter Thread starter recep mansiz
  • Start date Start date
R

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...


Submitted via EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .Net Tips and Tricks No. 26
http://www.eggheadcafe.com/tutorial...be30-cde5d852348d/dr-dotnetskys-cool-net.aspx
 
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).
 
I'm new to .net. I haven't read the link. thanks armin



Armin Zingler wrote:

Am 05.03.
05-Mar-10

Am 05.03.2010 13:02, schrieb recep mansiz

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

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

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

-
Armin

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
How to display a Gravatar Image with 100 Percent Client Script Code
http://www.eggheadcafe.com/tutorial...c-b0877c10ecb4/how-to-display-a-gravatar.aspx
 
Back
Top