View Single Post
  #19 (permalink)  
Old 08-25-2008, 02:19 PM
amrosama's Avatar   
amrosama amrosama is offline
Guru
 
Join Date: Aug 2007
Location: egypt
Age: 20
Posts: 2,738
Last Blog:
Computerizing: friend ...
Credits: 1
Rep Power: 28
amrosama is just really niceamrosama is just really niceamrosama is just really niceamrosama is just really niceamrosama is just really nice
Send a message via MSN to amrosama
Default Re: C# Tutorial: Writing Text Files

still, it returns "being used by another process" exception....but never mind
i found an alternate by using a stream writer
Code:
  System.IO.StreamWriter create = new System.IO.StreamWriter("newfile.txt");
  create.Close();
__________________
if you are not thinking of programming, then you are just NOT concentrating
== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
Reply With Quote