Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: StreamWriter not working Pin
Niklas Ulvinge29-May-05 0:21
Niklas Ulvinge29-May-05 0:21 
GeneralRe: StreamWriter not working Pin
Christian Graus29-May-05 0:47
protectorChristian Graus29-May-05 0:47 
GeneralRe: StreamWriter not working Pin
Niklas Ulvinge29-May-05 0:48
Niklas Ulvinge29-May-05 0:48 
GeneralRe: StreamWriter not working Pin
Christian Graus29-May-05 0:50
protectorChristian Graus29-May-05 0:50 
GeneralRe: StreamWriter not working Pin
Niklas Ulvinge29-May-05 0:54
Niklas Ulvinge29-May-05 0:54 
GeneralRe: StreamWriter not working Pin
Christian Graus29-May-05 0:56
protectorChristian Graus29-May-05 0:56 
GeneralRe: StreamWriter not working Pin
Niklas Ulvinge29-May-05 1:03
Niklas Ulvinge29-May-05 1:03 
GeneralRe: StreamWriter not working Pin
Colin Angus Mackay29-May-05 0:19
Colin Angus Mackay29-May-05 0:19 
Niklas Ulvinge wrote:
The file is empty.

Based on the code that I see that is the result I would expect.

As I've said you need to write stuff to the file. For example:
SW.Write("Some text goes here");


If you leave nothing in between the quotation marks then nothing will get written to the file.


My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralRe: StreamWriter not working Pin
Christian Graus29-May-05 0:51
protectorChristian Graus29-May-05 0:51 
GeneralRe: StreamWriter not working Pin
Colin Angus Mackay29-May-05 1:15
Colin Angus Mackay29-May-05 1:15 
Generala Question regarding serializing using FileMode.Append Pin
Green Fuze28-May-05 22:42
Green Fuze28-May-05 22:42 
GeneralRe: a Question regarding serializing using FileMode.Append Pin
Robert Rohde28-May-05 23:09
Robert Rohde28-May-05 23:09 
GeneralRe: a Question regarding serializing using FileMode.Append Pin
Green Fuze29-May-05 14:38
Green Fuze29-May-05 14:38 
GeneralRe: a Question regarding serializing using FileMode.Append Pin
Luis Alonso Ramos29-May-05 15:48
Luis Alonso Ramos29-May-05 15:48 
GeneralProblem storing data in xml file using serialization Pin
Member 200213128-May-05 20:29
Member 200213128-May-05 20:29 
Questionhow to add icons to context menu ?? Pin
ekynox28-May-05 17:24
ekynox28-May-05 17:24 
AnswerRe: how to add icons to context menu ?? Pin
ekynox1-Jun-05 14:56
ekynox1-Jun-05 14:56 
GeneralProblem with LIKE ' *xxx* ' Pin
quocpt28-May-05 16:18
quocpt28-May-05 16:18 
GeneralRe: Problem with LIKE ' *xxx* ' Pin
Luis Alonso Ramos28-May-05 17:35
Luis Alonso Ramos28-May-05 17:35 
GeneralRe: Problem with LIKE ' *xxx* ' Pin
Colin Angus Mackay28-May-05 22:08
Colin Angus Mackay28-May-05 22:08 
GeneralRe: Problem with LIKE ' *xxx* ' Pin
Luis Alonso Ramos29-May-05 12:52
Luis Alonso Ramos29-May-05 12:52 
GeneralRe: Problem with LIKE ' *xxx* ' Pin
Colin Angus Mackay28-May-05 22:47
Colin Angus Mackay28-May-05 22:47 
GeneralRe: Problem with LIKE ' *xxx* ' Pin
quocpt29-May-05 1:53
quocpt29-May-05 1:53 
GeneralReading from a text file and then storing into the database Pin
mhmo28-May-05 9:44
mhmo28-May-05 9:44 
GeneralRe: Reading from a text file and then storing into the database Pin
Robert Rohde28-May-05 9:53
Robert Rohde28-May-05 9:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.