Click here to Skip to main content
15,903,030 members
Home / Discussions / C#
   

C#

 
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 
QuestionCasting from a Base to Derived Class Pin
Jammer17-Aug-08 8:21
Jammer17-Aug-08 8:21 
AnswerRe: Casting from a Base to Derived Class Pin
Pete O'Hanlon17-Aug-08 8:34
mvePete O'Hanlon17-Aug-08 8:34 
AnswerRe: Casting from a Base to Derived Class Pin
Wendelius17-Aug-08 8:37
mentorWendelius17-Aug-08 8:37 
GeneralRe: Casting from a Base to Derived Class Pin
Jammer17-Aug-08 9:25
Jammer17-Aug-08 9:25 
GeneralRe: Casting from a Base to Derived Class Pin
Jammer17-Aug-08 9:30
Jammer17-Aug-08 9:30 
GeneralRe: Casting from a Base to Derived Class Pin
Wendelius17-Aug-08 9:52
mentorWendelius17-Aug-08 9:52 
GeneralRe: Casting from a Base to Derived Class Pin
Jammer17-Aug-08 10:15
Jammer17-Aug-08 10:15 
GeneralRe: Casting from a Base to Derived Class Pin
Wendelius17-Aug-08 10:17
mentorWendelius17-Aug-08 10:17 
QuestionHow to Bind combobox to Datatable coloums in connected mode??(Windows application) Pin
rahul2117-Aug-08 6:00
rahul2117-Aug-08 6:00 
AnswerRe: How to Bind combobox to Datatable coloums in connected mode??(Windows application) Pin
Manas Bhardwaj17-Aug-08 6:40
professionalManas Bhardwaj17-Aug-08 6:40 
AnswerRe: How to Bind combobox to Datatable coloums in connected mode??(Windows application) Pin
N a v a n e e t h17-Aug-08 7:04
N a v a n e e t h17-Aug-08 7:04 
QuestionSendKeys and ^ Pin
Dominik Reichl17-Aug-08 2:16
Dominik Reichl17-Aug-08 2:16 
AnswerRe: SendKeys and ^ Pin
Wendelius17-Aug-08 3:04
mentorWendelius17-Aug-08 3: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.