Click here to Skip to main content
14,838,368 members
Home / Discussions / C#
   

C#

 
AnswerRe: Knight's tour, recursion, dynamic programming, optimization Pin
trønderen28-Feb-21 15:59
Membertrønderen28-Feb-21 15:59 
GeneralRe: Knight's tour, recursion, dynamic programming, optimization Pin
Kari Trust2-Mar-21 2:04
MemberKari Trust2-Mar-21 2:04 
GeneralRe: Knight's tour, recursion, dynamic programming, optimization Pin
trønderen2-Mar-21 8:53
Membertrønderen2-Mar-21 8:53 
QuestionApplication crashes suddenly without any message [Solved] Pin
Alex Dunlop26-Feb-21 22:05
MemberAlex Dunlop26-Feb-21 22:05 
AnswerRe: Application crashes suddenly without any message Pin
BillWoodruff26-Feb-21 22:23
mveBillWoodruff26-Feb-21 22:23 
GeneralRe: Application crashes suddenly without any message Pin
Alex Dunlop26-Feb-21 22:29
MemberAlex Dunlop26-Feb-21 22:29 
GeneralRe: Application crashes suddenly without any message Pin
OriginalGriff26-Feb-21 22:35
mveOriginalGriff26-Feb-21 22:35 
AnswerRe: Application crashes suddenly without any message Pin
OriginalGriff26-Feb-21 22:32
mveOriginalGriff26-Feb-21 22:32 
Read the error message - it gives you a lot of information.
Exception Info: System.AccessViolationException
That's not too specific, so you need further information.
So look firsther, and you get a stack trace: it starts with the code that generated the exception, and then goes back up through the call list.
And it's something to do with painting in a label:
at System.Windows.Forms.Label.OnPaint(System.Windows.Forms.PaintEventArgs)

So the most likely culprit is your "special Font", which we can't see.
Start by replacing your font with a "normal" one and see if the problem goes away. If it does, then something you are drawing either doesn't exist in the font, or is badly "described" leading to a major crash.
So add logging to the app to find out what exactly is being shown when it fails, and try that exact text on your dev computer to see if you can track down exactly what is causing the problem.

Sorry, but we can't do any of that for you!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Application crashes suddenly without any message Pin
Alex Dunlop26-Feb-21 23:01
MemberAlex Dunlop26-Feb-21 23:01 
QuestionHow to reset TextBoxes at once? [Solved] Pin
Alex Dunlop25-Feb-21 7:06
MemberAlex Dunlop25-Feb-21 7:06 
AnswerRe: How to reset TextBoxes at once? Pin
Gerry Schmitz25-Feb-21 8:42
mveGerry Schmitz25-Feb-21 8:42 
GeneralRe: How to reset TextBoxes at once? Pin
OriginalGriff25-Feb-21 8:51
mveOriginalGriff25-Feb-21 8:51 
GeneralRe: How to reset TextBoxes at once? Pin
Gerry Schmitz25-Feb-21 9:17
mveGerry Schmitz25-Feb-21 9:17 
AnswerRe: How to reset TextBoxes at once? Pin
OriginalGriff25-Feb-21 8:50
mveOriginalGriff25-Feb-21 8:50 
GeneralRe: How to reset TextBoxes at once? Pin
Alex Dunlop25-Feb-21 19:10
MemberAlex Dunlop25-Feb-21 19:10 
GeneralRe: How to reset TextBoxes at once? Pin
Dave Kreskowiak25-Feb-21 19:44
mveDave Kreskowiak25-Feb-21 19:44 
GeneralRe: How to reset TextBoxes at once? PinPopular
OriginalGriff25-Feb-21 19:59
mveOriginalGriff25-Feb-21 19:59 
GeneralRe: How to reset TextBoxes at once? Pin
Eddy Vluggen26-Feb-21 6:39
professionalEddy Vluggen26-Feb-21 6:39 
GeneralRe: How to reset TextBoxes at once? Pin
BillWoodruff25-Feb-21 21:43
mveBillWoodruff25-Feb-21 21:43 
AnswerRe: How to reset TextBoxes at once? Pin
Ralf Meier26-Feb-21 3:05
professionalRalf Meier26-Feb-21 3:05 
AnswerRe: How to reset TextBoxes at once? Pin
BillWoodruff25-Feb-21 21:36
mveBillWoodruff25-Feb-21 21:36 
GeneralRe: How to reset TextBoxes at once? Pin
jsc423-Mar-21 0:35
professionaljsc423-Mar-21 0:35 
Questionwhy can we "get away with" creating static Classes outside our Namespace(s) scope (C# language issue) Pin
BillWoodruff25-Feb-21 3:11
mveBillWoodruff25-Feb-21 3:11 
AnswerRe: why can we "get away with" creating static Classes outside our Namespace(s) scope (C# language issue) Pin
OriginalGriff25-Feb-21 5:32
mveOriginalGriff25-Feb-21 5:32 
GeneralRe: why can we "get away with" creating static Classes outside our Namespace(s) scope (C# language issue) Pin
BillWoodruff25-Feb-21 18:26
mveBillWoodruff25-Feb-21 18: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.