Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fetching meta data of MS Office files Pin
Member 769142521-Feb-11 1:10
Member 769142521-Feb-11 1:10 
QuestionHow to open a XML file without validating? Pin
Hariharan210516-Apr-08 20:25
Hariharan210516-Apr-08 20:25 
AnswerRe: How to open a XML file without validating? Pin
pmarfleet16-Apr-08 22:39
pmarfleet16-Apr-08 22:39 
GeneralRe: How to open a XML file without validating? Pin
Hariharan210517-Apr-08 3:30
Hariharan210517-Apr-08 3:30 
General[Message Deleted] Pin
wwwxyz16-Apr-08 20:18
wwwxyz16-Apr-08 20:18 
GeneralRe: write to a txt file Pin
Reelix16-Apr-08 20:36
Reelix16-Apr-08 20:36 
GeneralRe: write to a txt file Pin
wwwxyz17-Apr-08 6:33
wwwxyz17-Apr-08 6:33 
GeneralRe: write to a txt file Pin
John_Adams16-Apr-08 20:40
John_Adams16-Apr-08 20:40 
Hi,

You may try the following code snippet to write the output into a file (.txt)

BEGIN CODE

// create a writer and open the file

TextWriter tw = new StreamWriter("FilePath\FileName.txt");

// write a line of text to the file

tw.WriteLine(yourdata);

// close the stream

tw.Close();

END CODE

Hope this helps Smile | :) .

Regards,
John Adams
ComponentOne LLC

GeneralRe: write to a txt file Pin
phannon8616-Apr-08 21:59
professionalphannon8616-Apr-08 21:59 
GeneralDownloading problem using c sharp Pin
Kashif Sabir16-Apr-08 19:24
Kashif Sabir16-Apr-08 19:24 
GeneralRe: Downloading problem using c sharp Pin
Expert Coming16-Apr-08 19:39
Expert Coming16-Apr-08 19:39 
QuestionTechnology Choice? Pin
Expert Coming16-Apr-08 19:23
Expert Coming16-Apr-08 19:23 
AnswerRe: Technology Choice? Pin
Thomas Stockwell17-Apr-08 1:16
professionalThomas Stockwell17-Apr-08 1:16 
QuestionHow to get the last day of the month. Pin
dougins16-Apr-08 19:15
dougins16-Apr-08 19:15 
GeneralRe: How to get the last day of the month. Pin
Expert Coming16-Apr-08 19:19
Expert Coming16-Apr-08 19:19 
GeneralRe: How to get the last day of the month. Pin
Luc Pattyn17-Apr-08 0:19
sitebuilderLuc Pattyn17-Apr-08 0:19 
Questionchanging the image DPI keeping the same size Pin
Faysal16-Apr-08 18:41
Faysal16-Apr-08 18:41 
GeneralRe: changing the image DPI keeping the same size Pin
Rojan Gh.16-Apr-08 19:05
professionalRojan Gh.16-Apr-08 19:05 
QuestionRe: changing the image DPI keeping the same size Pin
Faysal17-Apr-08 1:07
Faysal17-Apr-08 1:07 
AnswerRe: changing the image DPI keeping the same size Pin
Rojan Gh.17-Apr-08 5:05
professionalRojan Gh.17-Apr-08 5:05 
QuestionWebBrowser question Pin
Rojan Gh.16-Apr-08 18:34
professionalRojan Gh.16-Apr-08 18:34 
GeneralRe: WebBrowser question Pin
Luc Pattyn17-Apr-08 0:20
sitebuilderLuc Pattyn17-Apr-08 0:20 
AnswerRe: WebBrowser question Pin
Rojan Gh.17-Apr-08 4:43
professionalRojan Gh.17-Apr-08 4:43 
QuestionWorking with percentages in C# Pin
dougins16-Apr-08 18:21
dougins16-Apr-08 18:21 
GeneralRe: Working with percentages in C# Pin
Christian Graus16-Apr-08 18:34
protectorChristian Graus16-Apr-08 18:34 

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.