Click here to Skip to main content
15,911,360 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to convert string to xml Pin
J4amieC4-Dec-08 4:55
J4amieC4-Dec-08 4:55 
Questionquestion in word automation Pin
hatan864-Dec-08 4:22
hatan864-Dec-08 4:22 
AnswerRe: question in word automation Pin
dan!sh 4-Dec-08 4:25
professional dan!sh 4-Dec-08 4:25 
GeneralRe: question in word automation Pin
hatan864-Dec-08 5:02
hatan864-Dec-08 5:02 
GeneralRe: question in word automation Pin
dan!sh 4-Dec-08 5:13
professional dan!sh 4-Dec-08 5:13 
QuestionSet Default Value of DataTable field When Retrieving from Database Pin
polishprogrammer4-Dec-08 4:00
polishprogrammer4-Dec-08 4:00 
AnswerRe: Set Default Value of DataTable field When Retrieving from Database Pin
Ben Fair4-Dec-08 4:35
Ben Fair4-Dec-08 4:35 
GeneralRe: Set Default Value of DataTable field When Retrieving from Database Pin
polishprogrammer4-Dec-08 5:42
polishprogrammer4-Dec-08 5:42 
QuestionDrawing a line with Custom Pen Pin
pym4-Dec-08 2:55
pym4-Dec-08 2:55 
AnswerRe: Drawing a line with Custom Pen Pin
#realJSOP4-Dec-08 3:44
professional#realJSOP4-Dec-08 3:44 
GeneralRe: Drawing a line with Custom Pen Pin
pym6-Dec-08 21:17
pym6-Dec-08 21:17 
GeneralRe: Drawing a line with Custom Pen Pin
#realJSOP6-Dec-08 23:15
professional#realJSOP6-Dec-08 23:15 
Question[Message Deleted] Pin
tonyjsebastian14-Dec-08 2:08
tonyjsebastian14-Dec-08 2:08 
AnswerRe: how to create a make file for c# Pin
Nissim Salomon4-Dec-08 2:16
Nissim Salomon4-Dec-08 2:16 
AnswerRe: how to create a make file for c# Pin
J4amieC4-Dec-08 2:26
J4amieC4-Dec-08 2:26 
AnswerRe: how to create a make file for c# Pin
leppie4-Dec-08 2:29
leppie4-Dec-08 2:29 
AnswerRe: [Message Deleted] Pin
EliottA4-Dec-08 2:39
EliottA4-Dec-08 2:39 
AnswerRe: [Message Deleted] Pin
#realJSOP4-Dec-08 3:05
professional#realJSOP4-Dec-08 3:05 
GeneralRe: [Message Deleted] Pin
Simon P Stevens4-Dec-08 3:22
Simon P Stevens4-Dec-08 3:22 
GeneralRe: [Message Deleted] Pin
#realJSOP4-Dec-08 3:36
professional#realJSOP4-Dec-08 3:36 
GeneralRe: [Message Deleted] Pin
EliottA4-Dec-08 3:22
EliottA4-Dec-08 3:22 
QuestionRe: [Message Deleted] Pin
led mike4-Dec-08 5:00
led mike4-Dec-08 5:00 
AnswerRe: [Message Deleted] Pin
#realJSOP4-Dec-08 5:14
professional#realJSOP4-Dec-08 5:14 
QuestionRead specific lines from txt file and write them to another file Pin
Inbaljona4-Dec-08 1:38
Inbaljona4-Dec-08 1:38 
Hi,
I've got a txt file I'm parsing and need to extract specific lines from it and copy them to another file. First I scanned the file for the lines of interest by using the readline function. Each time I got a line I'm interested in I inserted the line number into an array.In the end I got an array that holds the line numbers of the lines I'm interested in coping. Meaning, the start line in one cell and end line in another, and I've got several of those in the array.
How do I copy the block of lines (between 2 cells listed in the array )from one file to a new file? Do I need to sync the StreamReader of one file with the StreamWriter of the other? or are there any other better ideas as to how to do it? Sniff | :^)

Thanks in advance,
Inbal
AnswerRe: Read specific lines from txt file and write them to another file Pin
Simon P Stevens4-Dec-08 1:48
Simon P Stevens4-Dec-08 1:48 

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.