Click here to Skip to main content
15,909,324 members
Home / Discussions / C#
   

C#

 
GeneralDataGrid hangs when using threads Pin
tobiaseriksson6-Sep-04 0:00
tobiaseriksson6-Sep-04 0:00 
GeneralRe: DataGrid hangs when using threads Pin
Roger Alsing6-Sep-04 3:47
Roger Alsing6-Sep-04 3:47 
GeneralRe: DataGrid hangs when using threads Pin
tobiaseriksson6-Sep-04 4:55
tobiaseriksson6-Sep-04 4:55 
GeneralChild Window with Focus *at same time as parent* Pin
Geekkit5-Sep-04 23:35
Geekkit5-Sep-04 23:35 
GeneralI have a problem,Creating xslt instructions Pin
teo_x5-Sep-04 22:37
teo_x5-Sep-04 22:37 
GeneralGet server time from remote server Pin
cbmdk5-Sep-04 22:19
cbmdk5-Sep-04 22:19 
GeneralProblems with huge files Pin
clatten5-Sep-04 22:15
clatten5-Sep-04 22:15 
GeneralRe: Problems with huge files Pin
Sebastian Schneider6-Sep-04 3:11
Sebastian Schneider6-Sep-04 3:11 
Obviously, you have to check each line in your file for your filtering condition.

You could use XML instead, for which the .NET Framework has built-in support.

This is not a valid xml file, but you might understand what I am after:
<logfile>
<logdate="22.01.2005"/>
<logdate="23.01.2005">
<errors>
<entry>
....
</entry>
<entry>
....
</entry>
....
....
</errors>
<warnings>
....
....
</warnings>
</logdate>
<logdate="....">
....
</logdate>
</logfile>

Thus, by organizing your data you will be able to find things faster.

Additionally, this already is tree-shaped, so you can easily include it into
a tree view or something and show error-specific details in a rich-text box.

Another way would be to do some organizing yourself. you could have different logfiles for categories, so when the user filters for one category, you simply have to load a file.


Also, filtering is much easier if you perform these operations in RAM, not on disk (by loading each line seperatly instead of buffering first, then filtering later).


Cheers
Sebastian
GeneralRe: Problems with huge files Pin
clatten6-Sep-04 10:07
clatten6-Sep-04 10:07 
GeneralEnabledChanged event of inputPanel of .NET CF error Pin
ting6685-Sep-04 21:25
ting6685-Sep-04 21:25 
GeneralDirectly deriving from MulticastDelegate Pin
Paul Selormey5-Sep-04 21:08
Paul Selormey5-Sep-04 21:08 
GeneralRe: Directly deriving from MulticastDelegate Pin
sreejith ss nair5-Sep-04 22:57
sreejith ss nair5-Sep-04 22:57 
GeneralRe: Directly deriving from MulticastDelegate Pin
Paul Selormey5-Sep-04 23:06
Paul Selormey5-Sep-04 23:06 
Generala question of Directx9 Pin
sssa20005-Sep-04 20:15
sssa20005-Sep-04 20:15 
GeneralRe: a question of Directx9 Pin
EssOEss6-Sep-04 5:01
EssOEss6-Sep-04 5:01 
GeneralC# equivalent of the /fx C++ compiler option Pin
Paul Selormey5-Sep-04 20:10
Paul Selormey5-Sep-04 20:10 
GeneralRe: C# equivalent of the /fx C++ compiler option Pin
leppie5-Sep-04 23:08
leppie5-Sep-04 23:08 
GeneralRe: C# equivalent of the /fx C++ compiler option Pin
Paul Selormey6-Sep-04 0:34
Paul Selormey6-Sep-04 0:34 
GeneralRe: C# equivalent of the /fx C++ compiler option Pin
EssOEss6-Sep-04 5:03
EssOEss6-Sep-04 5:03 
GeneralRe: C# equivalent of the /fx C++ compiler option Pin
Paul Selormey6-Sep-04 12:25
Paul Selormey6-Sep-04 12:25 
General&quot;Overloading&quot; delegate Pin
Paul Selormey5-Sep-04 19:47
Paul Selormey5-Sep-04 19:47 
GeneralRe: &quot;Overloading&quot; delegate Pin
leppie5-Sep-04 22:43
leppie5-Sep-04 22:43 
GeneralRe: &quot;Overloading&quot; delegate Pin
Paul Selormey5-Sep-04 22:55
Paul Selormey5-Sep-04 22:55 
GeneralRe: &quot;Overloading&quot; delegate Pin
leppie5-Sep-04 23:24
leppie5-Sep-04 23:24 
GeneralRe: &quot;Overloading&quot; delegate Pin
Paul Selormey6-Sep-04 0:32
Paul Selormey6-Sep-04 0:32 

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.