Click here to Skip to main content
15,915,703 members
Home / Discussions / C#
   

C#

 
QuestionIntersection between two rectangles in 3D Pin
Ali Habib13-Aug-11 22:42
Ali Habib13-Aug-11 22:42 
AnswerRe: Intersection between two rectangles in 3D Pin
Peter_in_278014-Aug-11 12:35
professionalPeter_in_278014-Aug-11 12:35 
QuestionCrossThreadMessagingException when using an anonymous delegate as part of an event. Pin
BobsLawnService13-Aug-11 2:40
BobsLawnService13-Aug-11 2:40 
AnswerRe: CrossThreadMessagingException when using an anonymous delegate as part of an event. Pin
Ravi Bhavnani13-Aug-11 4:28
professionalRavi Bhavnani13-Aug-11 4:28 
GeneralRe: CrossThreadMessagingException when using an anonymous delegate as part of an event. Pin
BobsLawnService13-Aug-11 4:48
BobsLawnService13-Aug-11 4:48 
GeneralRe: CrossThreadMessagingException when using an anonymous delegate as part of an event. Pin
Ravi Bhavnani13-Aug-11 6:26
professionalRavi Bhavnani13-Aug-11 6:26 
AnswerRe: CrossThreadMessagingException when using an anonymous delegate as part of an event. Pin
PIEBALDconsult14-Aug-11 18:16
mvePIEBALDconsult14-Aug-11 18:16 
QuestionUdpClient.Send() hangs Pin
mav.northwind13-Aug-11 0:52
mav.northwind13-Aug-11 0:52 
QuestionInserting IMAGE FILES OR JPG,BMP file into MS-ACCESS TABLE Pin
M Riaz Bashir13-Aug-11 0:13
M Riaz Bashir13-Aug-11 0:13 
AnswerRe: Inserting IMAGE FILES OR JPG,BMP file into MS-ACCESS TABLE Pin
Peter_in_278013-Aug-11 0:54
professionalPeter_in_278013-Aug-11 0:54 
GeneralRe: Inserting IMAGE FILES OR JPG,BMP file into MS-ACCESS TABLE Pin
M Riaz Bashir13-Aug-11 1:07
M Riaz Bashir13-Aug-11 1:07 
Questioncode calibration in the wiimote Pin
Trieu Hau12-Aug-11 15:36
Trieu Hau12-Aug-11 15:36 
AnswerRe: code calibration in the wiimote Pin
OriginalGriff12-Aug-11 21:27
mveOriginalGriff12-Aug-11 21:27 
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 

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.