Click here to Skip to main content
15,867,594 members
Home / Discussions / C#
   

C#

 
Questionreturn last 3 records Pin
TAREQ F ABUZUHRI24-Aug-07 5:25
TAREQ F ABUZUHRI24-Aug-07 5:25 
AnswerRe: return last 3 records Pin
snorkie24-Aug-07 5:37
professionalsnorkie24-Aug-07 5:37 
GeneralRe: return last 3 records Pin
TAREQ F ABUZUHRI24-Aug-07 5:45
TAREQ F ABUZUHRI24-Aug-07 5:45 
QuestionHandling multiple versions of a similar Web Service Pin
GField24-Aug-07 5:21
GField24-Aug-07 5:21 
Question[Message Deleted] Pin
madokapeng24-Aug-07 5:14
madokapeng24-Aug-07 5:14 
AnswerRe: How to compare difference between two screenshots Pin
Alaric_24-Aug-07 6:21
professionalAlaric_24-Aug-07 6:21 
AnswerWell I hate to help you cheat Pin
Ennis Ray Lynch, Jr.24-Aug-07 6:23
Ennis Ray Lynch, Jr.24-Aug-07 6:23 
QuestionTrigger Events from a Separate Thread Pin
polishprogrammer24-Aug-07 5:13
polishprogrammer24-Aug-07 5:13 
I have an application that needs to read data continuously from some equipment while allowing user input. The application uses two threads, one for reading and writing data to this 'equipment', while the other is the user interface thread. This arrangement generally works fine and the application communicates needed information between the two threads seamlessly.

Unfortunately, as happens so often, new requirements for the application have come into play. In the event of a failure in some process run on the equipment, the user needs to be notified AND prompted with a query.

Previously, any errors encountered during communication with the equipment were reported via audible and/or email messages detailing the nature of the problem, which was 'easy' enough to handle, but now the user will need to do something about the error. I don't want to interrupt the thread reading the equipment, so I think it makes sense to have the failure trigger an event that then pops up a MessageBox or other user interface form to allow the user to choose an appropriate course of action while allowing the data processing thread to continue.

Would anyone be able to make some suggestions regarding how to solve this problem? As it so happens, certain data from the failure event needs to be recorded, so I would think a DataTable event might do the trick, but am open to any helpful suggestions. Thanks.
QuestionRebooting XP programmitically Pin
Justin Perez24-Aug-07 5:02
Justin Perez24-Aug-07 5:02 
AnswerRe: Rebooting XP programmitically [modified] Pin
Justin Perez24-Aug-07 5:18
Justin Perez24-Aug-07 5:18 
AnswerRe: Rebooting XP programmitically Pin
Spacix One24-Aug-07 6:00
Spacix One24-Aug-07 6:00 
AnswerRe: Rebooting XP programmitically Pin
J4amieC24-Aug-07 5:56
J4amieC24-Aug-07 5:56 
AnswerRe: Rebooting XP programmitically Pin
PIEBALDconsult24-Aug-07 6:11
mvePIEBALDconsult24-Aug-07 6:11 
GeneralRe: Rebooting XP programmitically Pin
Dan Neely24-Aug-07 7:21
Dan Neely24-Aug-07 7:21 
GeneralRe: Rebooting XP programmitically Pin
PIEBALDconsult24-Aug-07 8:13
mvePIEBALDconsult24-Aug-07 8:13 
AnswerRe: Rebooting XP programmitically Pin
Giorgi Dalakishvili24-Aug-07 8:00
mentorGiorgi Dalakishvili24-Aug-07 8:00 
QuestionChanging ListBox items color Pin
lossy24-Aug-07 4:44
lossy24-Aug-07 4:44 
AnswerRe: Changing ListBox items color Pin
Judah Gabriel Himango24-Aug-07 4:51
sponsorJudah Gabriel Himango24-Aug-07 4:51 
GeneralRe: Changing ListBox items color Pin
lossy24-Aug-07 5:10
lossy24-Aug-07 5:10 
AnswerRe: Changing ListBox items color Pin
lossy24-Aug-07 6:05
lossy24-Aug-07 6:05 
QuestionImport Data from MS Excel to DataSet using C# Pin
tuansara24-Aug-07 4:16
tuansara24-Aug-07 4:16 
AnswerRe: Import Data from MS Excel to DataSet using C# Pin
led mike24-Aug-07 4:42
led mike24-Aug-07 4:42 
QuestionImport Data from MS Excel to SQL Server 2000 Pin
tuansara24-Aug-07 4:09
tuansara24-Aug-07 4:09 
AnswerRe: Import Data from MS Excel to SQL Server 2000 Pin
Judah Gabriel Himango24-Aug-07 4:36
sponsorJudah Gabriel Himango24-Aug-07 4:36 
QuestionCreate xml file from InfoPath (xsn) file Pin
Phrone24-Aug-07 3:26
Phrone24-Aug-07 3:26 

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.