Click here to Skip to main content
15,917,875 members
Home / Discussions / C#
   

C#

 
GeneralRe: String placeholder and html causing it to encode Pin
reverland18-Aug-08 10:53
reverland18-Aug-08 10:53 
Questionvisual c++ vs c# Pin
Mogaambo17-Aug-08 20:53
Mogaambo17-Aug-08 20:53 
AnswerRe: visual c++ vs c# Pin
Christian Graus17-Aug-08 21:56
protectorChristian Graus17-Aug-08 21:56 
GeneralRe: visual c++ vs c# Pin
Mogaambo17-Aug-08 22:06
Mogaambo17-Aug-08 22:06 
GeneralRe: visual c++ vs c# Pin
Manas Bhardwaj18-Aug-08 2:39
professionalManas Bhardwaj18-Aug-08 2:39 
QuestionBinding DataGridView Columns with DataTable Columns Pin
Piyush Vaishnav17-Aug-08 20:16
Piyush Vaishnav17-Aug-08 20:16 
QuestionParsing Nullable DateTime Pin
N a v a n e e t h17-Aug-08 19:48
N a v a n e e t h17-Aug-08 19:48 
AnswerRe: Parsing Nullable DateTime Pin
Guffa17-Aug-08 21:03
Guffa17-Aug-08 21:03 
GeneralRe: Parsing Nullable DateTime Pin
N a v a n e e t h17-Aug-08 21:05
N a v a n e e t h17-Aug-08 21:05 
GeneralRe: Parsing Nullable DateTime Pin
benjymous17-Aug-08 23:57
benjymous17-Aug-08 23:57 
GeneralRe: Parsing Nullable DateTime Pin
Guffa18-Aug-08 2:42
Guffa18-Aug-08 2:42 
QuestionRename xml file name in C# [Resolved] Pin
CodingLover17-Aug-08 18:24
CodingLover17-Aug-08 18:24 
AnswerRe: Rename xml file name in C# Pin
CodingLover17-Aug-08 19:00
CodingLover17-Aug-08 19:00 
QuestionC# CodeDom CodeMethodInvokeExpression Class Pin
AndieDu17-Aug-08 16:27
AndieDu17-Aug-08 16:27 
QuestionDoes a method execute on the same thread for its entire length? Pin
JoeRip17-Aug-08 14:07
JoeRip17-Aug-08 14:07 
AnswerRe: Does a method execute on the same thread for its entire length? Pin
Judah Gabriel Himango17-Aug-08 14:28
sponsorJudah Gabriel Himango17-Aug-08 14:28 
GeneralRe: Does a method execute on the same thread for its entire length? Pin
JoeRip17-Aug-08 14:32
JoeRip17-Aug-08 14:32 
Questionplaying rmvb videos using csharp.net Pin
zumty17-Aug-08 13:44
zumty17-Aug-08 13:44 
AnswerRe: playing rmvb videos using csharp.net Pin
DeepToot17-Aug-08 13:56
DeepToot17-Aug-08 13:56 
GeneralRe: playing rmvb videos using csharp.net Pin
zumty17-Aug-08 20:48
zumty17-Aug-08 20:48 
QuestionNeed advice on light weight database-like design Pin
DeepToot17-Aug-08 13:37
DeepToot17-Aug-08 13:37 
I created an application that logs events inside a text file now. The event information looks like this:



This process works like it should but when opening the log file it looks pretty rough and the format of it could be done alot better.

What I proposed was to have it inputted into maybe an xml file with the parent Node being the Event Name and each time this event fires the application will search the xml to see if this Parent Node exists, if it does it creates a child node below that with its value. If it is not in there it creates the Parent Node and creates the child under it with the value.

When I was thinking about doing this I wasn't sure if this solution would be fast enough to handle the event calls. Sometimes the events can be fired rather quickly and I'm afraid there might be some locking involved when writing to the xml file. To solve this I was going to create another class that will act like a buffer between the xml calls and the event calls, kinda like an MSMQ type class.

I know I could get away with doing something like this using mysql or msde or even SQL it'self..the only problem with this is that this is a Packaged Product and needs to be developed as if the client machine does not have SQL or IIS or anything like this installed. The only requirement would be .Net 2.0 - I dont want to force the purchaser to also have these items already.

So basically what I am asking is if anyone here has any idea's how I can have a async, fast read/write option for my logging? Can I get away with using an XML file as my database?

Thanks.
AnswerRe: Need advice on light weight database-like design Pin
N a v a n e e t h17-Aug-08 19:40
N a v a n e e t h17-Aug-08 19:40 
QuestionCheck if form is open? Pin
Arcdigital17-Aug-08 11:37
Arcdigital17-Aug-08 11:37 
AnswerRe: Check if form is open? Pin
lisan_al_ghaib17-Aug-08 12:37
lisan_al_ghaib17-Aug-08 12:37 
AnswerRe: Check if form is open? another way Pin
Natza Mitzi17-Aug-08 13:45
Natza Mitzi17-Aug-08 13:45 

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.