Click here to Skip to main content
15,894,460 members
Home / Discussions / C#
   

C#

 
AnswerRe: code calibration in the wiimote Pin
DaveyM6912-Aug-11 23:59
professionalDaveyM6912-Aug-11 23:59 
AnswerRe: code calibration in the wiimote Pin
Eddy Vluggen13-Aug-11 0:27
professionalEddy Vluggen13-Aug-11 0:27 
QuestionCould not retrieve schema information for table or view ! Pin
nassimnastaran12-Aug-11 10:30
nassimnastaran12-Aug-11 10:30 
AnswerRe: Could not retrieve schema information for table or view ! Pin
nassimnastaran13-Aug-11 2:26
nassimnastaran13-Aug-11 2:26 
QuestionAppend to file that is in use? Pin
sheldons12-Aug-11 6:15
sheldons12-Aug-11 6:15 
AnswerRe: Append to file that is in use? Pin
SledgeHammer0112-Aug-11 6:47
SledgeHammer0112-Aug-11 6:47 
AnswerRe: Append to file that is in use? Pin
jschell12-Aug-11 8:20
jschell12-Aug-11 8:20 
AnswerRe: Append to file that is in use? Pin
Roger Wright12-Aug-11 19:29
professionalRoger Wright12-Aug-11 19:29 
It might be a bit complex for the application, but I work with a SCADA system that has to collect log entries from multiple devices and is at risk from the same potential problem. The solution in my situation is a small log server that runs on its own. When devices come online, they register with the server, then maintain a queue of events internally. The free-running server adds each active device to its polling list, and sequentially requests a dump of queued events from each device, one at a time. Since each device includes a time stamp for each entry, the complete set of events is easily sorted by the log server so that all events appear in the log sequentially.

You could implement something similar in your app, with each instance of it generating an event when it has something to log, and the separate log server subscribing to the events. The server component would retrieve log events from the sending instance of your program and manage the log file itself, eliminating contention. Just a thought...
Will Rogers never met me.

AnswerRe: Append to file that is in use? Pin
jschell13-Aug-11 7:01
jschell13-Aug-11 7:01 
AnswerRe: Append to file that is in use? Pin
Oludayo Alli16-Aug-11 4:20
Oludayo Alli16-Aug-11 4:20 
AnswerRe: Append to file that is in use? Pin
RichardGrimmer17-Aug-11 5:46
RichardGrimmer17-Aug-11 5:46 
QuestionC# OOP Question: Best way to setup these classes? Pin
Goalie3512-Aug-11 4:46
Goalie3512-Aug-11 4:46 
AnswerRe: C# OOP Question: Best way to setup these classes? Pin
BobJanova12-Aug-11 6:00
BobJanova12-Aug-11 6:00 
GeneralRe: C# OOP Question: Best way to setup these classes? Pin
Shameel12-Aug-11 6:06
professionalShameel12-Aug-11 6:06 
Questionload big image in program Pin
Mohsen Shahindust12-Aug-11 4:24
Mohsen Shahindust12-Aug-11 4:24 
AnswerRe: load big image in program Pin
Blue_Boy12-Aug-11 4:31
Blue_Boy12-Aug-11 4:31 
GeneralRe: load big image in program Pin
Matt Meyer12-Aug-11 4:39
Matt Meyer12-Aug-11 4:39 
GeneralRe: load big image in program Pin
Mohsen Shahindust12-Aug-11 5:01
Mohsen Shahindust12-Aug-11 5:01 
AnswerWhat's the image for? Pin
MicroVirus12-Aug-11 4:43
MicroVirus12-Aug-11 4:43 
GeneralRe: What's the image for? Pin
Mohsen Shahindust12-Aug-11 5:07
Mohsen Shahindust12-Aug-11 5:07 
AnswerRe: load big image in program Pin
BobJanova12-Aug-11 6:06
BobJanova12-Aug-11 6:06 
GeneralRe: load big image in program Pin
MicroVirus12-Aug-11 8:36
MicroVirus12-Aug-11 8:36 
GeneralRe: load big image in program Pin
BobJanova12-Aug-11 8:43
BobJanova12-Aug-11 8:43 
GeneralRe: load big image in program Pin
MicroVirus12-Aug-11 8:55
MicroVirus12-Aug-11 8:55 
AnswerRe: load big image in program Pin
Oludayo Alli20-Aug-11 7:06
Oludayo Alli20-Aug-11 7:06 

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.