Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
QuestionItem deleted in control even already assign to another variable. Pin
Le@rner8-Jun-16 21:11
Le@rner8-Jun-16 21:11 
AnswerRe: Item deleted in control even already assign to another variable. Pin
Pete O'Hanlon8-Jun-16 22:27
mvePete O'Hanlon8-Jun-16 22:27 
AnswerRe: Item deleted in control even already assign to another variable. Pin
Richard MacCutchan8-Jun-16 22:43
mveRichard MacCutchan8-Jun-16 22:43 
AnswerRe: Item deleted in control even already assign to another variable. Pin
OriginalGriff8-Jun-16 22:47
mveOriginalGriff8-Jun-16 22:47 
AnswerRe: Item deleted in control even already assign to another variable. Pin
BillWoodruff8-Jun-16 23:05
professionalBillWoodruff8-Jun-16 23:05 
GeneralRe: Item deleted in control even already assign to another variable. Pin
Le@rner9-Jun-16 2:40
Le@rner9-Jun-16 2:40 
QuestionIgnore Error Pin
sunsher8-Jun-16 20:05
sunsher8-Jun-16 20:05 
AnswerRe: Ignore Error Pin
OriginalGriff8-Jun-16 20:30
mveOriginalGriff8-Jun-16 20:30 
You shouldn't really ignore errors - you should find out why they occur! It's normally something important you've done wrong...
About all you can do in this case os use a try...catch block in class1 and / or class2 to catch the error, log the problem somewhere and continue from there. You can't tell the class3 or class4 to "ignore that and carry on" because the error is saying "I don't know what to do, I can't carry on". That's why it's important to find out why the error occurs - what is null, and why is it null? Fixing that is the only way to prevent the classes throwing the error in the first place!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Ignore Error Pin
sunsher12-Jun-16 12:42
sunsher12-Jun-16 12:42 
GeneralRe: Ignore Error Pin
OriginalGriff12-Jun-16 21:05
mveOriginalGriff12-Jun-16 21:05 
QuestionSystem.NullReferenceException Pin
sunsher8-Jun-16 12:48
sunsher8-Jun-16 12:48 
AnswerRe: System.NullReferenceException Pin
Matt T Heffron8-Jun-16 13:56
professionalMatt T Heffron8-Jun-16 13:56 
AnswerRe: System.NullReferenceException Pin
BillWoodruff8-Jun-16 13:58
professionalBillWoodruff8-Jun-16 13:58 
GeneralRe: System.NullReferenceException Pin
sunsher8-Jun-16 18:57
sunsher8-Jun-16 18:57 
GeneralRe: System.NullReferenceException Pin
sunsher8-Jun-16 19:10
sunsher8-Jun-16 19:10 
GeneralRe: System.NullReferenceException Pin
Pete O'Hanlon8-Jun-16 21:15
mvePete O'Hanlon8-Jun-16 21:15 
GeneralRe: System.NullReferenceException Pin
BillWoodruff8-Jun-16 21:54
professionalBillWoodruff8-Jun-16 21:54 
Questionpassword policy using c# Pin
forest4ever7-Jun-16 20:33
forest4ever7-Jun-16 20:33 
AnswerRe: password policy using c# Pin
Garth J Lancaster7-Jun-16 20:44
professionalGarth J Lancaster7-Jun-16 20:44 
AnswerRe: password policy using c# Pin
Mycroft Holmes7-Jun-16 22:19
professionalMycroft Holmes7-Jun-16 22:19 
AnswerRe: password policy using c# Pin
OriginalGriff7-Jun-16 22:28
mveOriginalGriff7-Jun-16 22:28 
QuestionSet window on top from ShellExecute? Pin
kenw2327-Jun-16 11:25
kenw2327-Jun-16 11:25 
AnswerRe: Set window on top from ShellExecute? Pin
Eddy Vluggen7-Jun-16 12:10
professionalEddy Vluggen7-Jun-16 12:10 
AnswerRe: Set window on top from ShellExecute? Pin
BillWoodruff8-Jun-16 7:26
professionalBillWoodruff8-Jun-16 7:26 
QuestionHow can I format a text selection in bold AND italic? Pin
Member 119167356-Jun-16 23:23
Member 119167356-Jun-16 23:23 

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.