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

C#

 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
jschell22-Jan-23 8:30
jschell22-Jan-23 8:30 
QuestionImageAnnotationDemo Pin
Rahmo14-Jan-23 22:50
Rahmo14-Jan-23 22:50 
AnswerRe: ImageAnnotationDemo Pin
Richard MacCutchan15-Jan-23 1:34
mveRichard MacCutchan15-Jan-23 1:34 
AnswerRe: ImageAnnotationDemo Pin
OriginalGriff15-Jan-23 1:41
mveOriginalGriff15-Jan-23 1:41 
Questionthe new Math.Generics ? Pin
BillWoodruff13-Jan-23 1:04
professionalBillWoodruff13-Jan-23 1:04 
GeneralRe: the new Math.Generics ? Pin
harold aptroot13-Jan-23 17:46
harold aptroot13-Jan-23 17:46 
AnswerRe: the new Math.Generics ? Pin
jschell15-Jan-23 8:09
jschell15-Jan-23 8:09 
QuestionVirtual USB Com port makes my C# control application freeze and crash when I single-step the microcontroller with the USB-device Pin
arnold_w13-Jan-23 1:04
arnold_w13-Jan-23 1:04 
I have a C# control application that communicates via USB (it shows up as a Com port in the Device Manager, but the electrical interface is USB, not RS232) with a development board with a microcontroller from ST Microelectronics (the driver I use is automatically installed by Windows 10 or Windows 11). Sometimes I need to debug and single-step the microcontroller and when I do, the C# application freezes for a long time and then usually eventually crashes when the Com port finally disappears and my Com connection is lost. Is there anything I can do to handle this a little more gracefully? It would be great if the Com port connection could simply get disconnected (instead of freezing the application) and the Com port disappears and then it could try to reconnect every second, in case the single-stepping has stopped and the microcontroller is running normally again. I'm programming in .NET 2.0 and I communicate using the System.IO.Ports.SerialPort class.
AnswerRe: Virtual USB Com port makes my C# control application freeze and crash when I single-step the microcontroller with the USB-device Pin
Gerry Schmitz14-Jan-23 5:37
mveGerry Schmitz14-Jan-23 5:37 
SuggestionC# web page interaction Pin
Samar Shehzad12-Jan-23 18:48
Samar Shehzad12-Jan-23 18:48 
GeneralRe: C# web page interaction Pin
OriginalGriff12-Jan-23 18:56
mveOriginalGriff12-Jan-23 18:56 
GeneralRe: C# web page interaction Pin
Samar Shehzad12-Jan-23 18:58
Samar Shehzad12-Jan-23 18:58 
GeneralRe: C# web page interaction Pin
OriginalGriff12-Jan-23 19:26
mveOriginalGriff12-Jan-23 19:26 
GeneralRe: C# web page interaction Pin
Graeme_Grant12-Jan-23 19:59
mvaGraeme_Grant12-Jan-23 19:59 
AnswerRe: C# web page interaction Pin
Richard Deeming12-Jan-23 22:11
mveRichard Deeming12-Jan-23 22:11 
QuestionWhy isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w10-Jan-23 2:25
arnold_w10-Jan-23 2:25 
AnswerRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
OriginalGriff10-Jan-23 3:46
mveOriginalGriff10-Jan-23 3:46 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w10-Jan-23 4:06
arnold_w10-Jan-23 4:06 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Ralf Meier10-Jan-23 4:55
professionalRalf Meier10-Jan-23 4:55 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w10-Jan-23 5:21
arnold_w10-Jan-23 5:21 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Ralf Meier10-Jan-23 6:14
professionalRalf Meier10-Jan-23 6:14 
AnswerRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Pete O'Hanlon12-Jan-23 0:03
subeditorPete O'Hanlon12-Jan-23 0:03 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w12-Jan-23 2:29
arnold_w12-Jan-23 2:29 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Pete O'Hanlon12-Jan-23 2:55
subeditorPete O'Hanlon12-Jan-23 2:55 
Questionproblem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
BillWoodruff8-Jan-23 21:30
professionalBillWoodruff8-Jan-23 21:30 

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.