Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: extracting frame from video files Pin
Robert Rohde16-May-06 23:44
Robert Rohde16-May-06 23:44 
QuestionHow can i add scroll bar to form Pin
cshivaprasad16-May-06 23:10
cshivaprasad16-May-06 23:10 
AnswerRe: How can i add scroll bar to form Pin
Stefan Troschuetz16-May-06 23:54
Stefan Troschuetz16-May-06 23:54 
Questionhowto do x wait 10 ms then do y wait 100 ms then do z ? Pin
cmpeng3416-May-06 22:56
cmpeng3416-May-06 22:56 
AnswerRe: howto do x wait 10 ms then do y wait 100 ms then do z ? Pin
Robert Rohde16-May-06 23:00
Robert Rohde16-May-06 23:00 
AnswerRe: howto do x wait 10 ms then do y wait 100 ms then do z ? Pin
sathish s16-May-06 23:02
sathish s16-May-06 23:02 
Questiona question about parsing using C# ? Pin
cmpeng3416-May-06 22:16
cmpeng3416-May-06 22:16 
AnswerRe: a question about parsing using C# ? Pin
Nader Elshehabi16-May-06 23:05
Nader Elshehabi16-May-06 23:05 
Well, it depends on if you can format the text as you want..
If your text is a bit small (something like few kilobytes), and performance is not an issue here you may want to directly use the (IndexOf) function to locate cretain Keywords (eg. "RECORDS OF ", "CASE NO: ", or "DATA END"), also then you may reformat your data text to be something like this:-

[CASEOPENNING] [RECORDSOF] 80 [ENTRIES]
[DATA]
[CASE NO]9876[/CASENUMBER]
05/12-17:25:05-#3[NEWENTRY]05/12-17:24:56-#3[NEWENTRY]05/12-17:24:44-#0[NEWENTRY]05/12-17:24:32-#3
[NEWENTRY]05/12-17:24:22-#3
[CASE NO]6675[/CASENUMBER]
05/12-17:25:05-#3[NEWENTRY]05/12-17:24:56-#3[NEWENTRY]05/12-17:24:44-#0[NEWENTRY]05/12-17:24:32-#3
[NEWENTRY]05/12-17:24:22-#3
[/DATA]
where you can look to for the index of "[NEWENTRY]".
Then it's easy!!

If your text data is a bit large & you want to boost the performance you may want to try the "ReadLine" function to read your text line by line. Then in the read text parse it with (IndexOf) in a way similar to the above.

There are many other ways to parse and format any text. This was merely a suggestionSmile | :) , Good luck.
QuestionHow to load image "name.ico" to Bitmap Stream? Pin
Dima Filipiuk16-May-06 21:57
Dima Filipiuk16-May-06 21:57 
AnswerRe: How to load image "name.ico" to Bitmap Stream? Pin
Robert Rohde16-May-06 23:07
Robert Rohde16-May-06 23:07 
GeneralRe: How to load image "name.ico" to Bitmap Stream? Pin
Dima Filipiuk17-May-06 0:55
Dima Filipiuk17-May-06 0:55 
GeneralRe: How to load image "name.ico" to Bitmap Stream? Pin
Robert Rohde17-May-06 1:43
Robert Rohde17-May-06 1:43 
QuestionGDI+ GraphicsPath HitTest Question...desperate! Pin
b33rdy16-May-06 21:55
b33rdy16-May-06 21:55 
AnswerRe: GDI+ GraphicsPath HitTest Question...desperate! Pin
leppie17-May-06 19:45
leppie17-May-06 19:45 
QuestionUrgent help pleaseeeeeeee..... Pin
manusharma16-May-06 21:43
manusharma16-May-06 21:43 
AnswerRe: Urgent help pleaseeeeeeee..... Pin
papa198016-May-06 22:15
papa198016-May-06 22:15 
AnswerRe: Urgent help pleaseeeeeeee..... Pin
stancrm18-May-06 3:47
stancrm18-May-06 3:47 
Questionsoftware information Pin
Ch_yasir_meh16-May-06 20:59
Ch_yasir_meh16-May-06 20:59 
Questionc#+flash=???? Pin
papa198016-May-06 20:43
papa198016-May-06 20:43 
AnswerRe: c#+flash=???? Pin
Jakob Farian Krarup17-May-06 1:33
Jakob Farian Krarup17-May-06 1:33 
GeneralRe: c#+flash=???? Pin
papa198017-May-06 3:07
papa198017-May-06 3:07 
QuestionConversion of C# code to javascript or VBScript Pin
Avanika Gupta16-May-06 20:32
Avanika Gupta16-May-06 20:32 
QuestionMarshaling structures containing an array of structures Pin
pythoulon16-May-06 19:18
pythoulon16-May-06 19:18 
AnswerRe: Marshaling structures containing an array of structures Pin
leppie16-May-06 21:17
leppie16-May-06 21:17 
GeneralRe: Marshaling structures containing an array of structures Pin
pythoulon17-May-06 0:04
pythoulon17-May-06 0:04 

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.