Enter Keywords:
1 - 10 of 80(0 seconds)
Sort By:
 
Hello Have a look please at the code below: class Test {     public static void Main()     {         using (StreamWriter sw = new StreamWriter("TestFile.txt"))         {             ...
Zones: C#Date Answered: 04/22/2005 Rating: 8.6 Views: 0
I know how to create a StreamWriter like so: Dim srFileWriter As New System.IO.StreamWriter("RecResults.txt", True) close it like this srFileWriter.Close() but say I want to reopen th...
Zones: MS Visual BasicDate Answered: 04/03/2006 Rating: 9.6 Views: 0
I'm using a streamwriter to write to a file, but I'm looping through several files to do so. The first pass works, cause I use the File.Create method But the next time through it fails, because...
Zones: MS Visual BasicDate Answered: 09/28/2006 Rating: 8.8 Views: 0
Hello,   Is there a way to send a Ctrl-C  to the System.IO.StreamWriter?
Zones: MS Visual BasicDate Answered: 09/30/2006 Rating: 8.6 Views: 0
The background to this question is here http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_22058379.html It explains - if any explanation is needed - why t...
Zones: MS Visual BasicDate Answered: 11/17/2006 Rating: 8.6 Views: 0
I want to append to the end of a file.  I have done this:                         string filename = outpath + @"\" + fname + ".txt";                         if(File.Exists(filename))                         {                               fs = File.OpenWrite(filename);                         }...
Zones: ProgrammingDate Answered: 11/23/2006 Rating: 7.6 Views: 113
Hi, I need to creating something like a progress box. From my app, when i click save in the SDialog, how can i do something like once i click OK, there will be a Progress Box appear but at the bac...
Zones: C#, LanguagesDate Answered: 03/05/2007 Rating: 9.2 Views: 0
I have created the streamwriter with the following code:         Dim WriteFile = New IO.StreamWriter(Server.MapPath("test.txt"))         WriteFile.WriteLine("Hello " + TheDate.Text + " World2!!!!...
Zones: ASP.Net ProgrammingDate Answered: 09/18/2007 Rating: 8.0 Views: 0
Hello, I'm using a StreamWriter object to create and write to a text file.  The problem is that when I open the new text file, there's nothing in it.  The immediate code is as follows:       ...
Zones: C#Date Answered: 11/15/2007 Rating: 9.8 Views: 0
I am modifying a Motorola S-Record, and am trying to output the data directly as hex. For example, when I open the output file in a Hex-Editor, I want to see 28 not 3238. This is eventually going t...
Zones: C++Date Answered: 08/28/2003 Rating: 8.0 Views: 0