Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: An unhandled exception of type 'System.NullReferenceException' occurred Pin
BillWoodruff12-Dec-13 19:35
professionalBillWoodruff12-Dec-13 19:35 
Marco has clearly identified the most probable source of your 'null error.

Any time you have an error like this, it's a good idea to set a break-point before the error occurs, and then single-step through the code, inspecting the value of variables, the values returned by methods, etc.
"What Turing gave us for the first time (and without Turing you just couldn't do any of this) is he gave us a way of thinking about and taking seriously and thinking in a disciplined way about phenomena that have, as I like to say, trillions of moving parts.

Until the late 20th century, nobody knew how to take seriously a machine with a trillion moving parts. It's just mind-boggling." Daniel C. Dennett

AnswerRe: An unhandled exception of type 'System.NullReferenceException' occurred Pin
WuRunZhe12-Dec-13 20:24
WuRunZhe12-Dec-13 20:24 
Questionbest way to license .net application Pin
Jassim Rahma12-Dec-13 5:26
Jassim Rahma12-Dec-13 5:26 
AnswerRe: best way to license .net application Pin
Marco Bertschi12-Dec-13 6:01
protectorMarco Bertschi12-Dec-13 6:01 
GeneralRe: best way to license .net application Pin
DaveAuld12-Dec-13 6:16
professionalDaveAuld12-Dec-13 6:16 
AnswerRe: best way to license .net application Pin
thatraja12-Dec-13 6:26
professionalthatraja12-Dec-13 6:26 
GeneralRe: best way to license .net application Pin
PIEBALDconsult12-Dec-13 17:36
mvePIEBALDconsult12-Dec-13 17:36 
AnswerRe: best way to license .net application Pin
jschell13-Dec-13 9:55
jschell13-Dec-13 9:55 
SuggestionHow to set transparent on listbox Pin
Member 1026763012-Dec-13 0:52
Member 1026763012-Dec-13 0:52 
GeneralRe: How to set transparent on listbox Pin
Simon_Whale12-Dec-13 1:03
Simon_Whale12-Dec-13 1:03 
GeneralRe: How to set transparent on listbox Pin
Marco Bertschi12-Dec-13 1:20
protectorMarco Bertschi12-Dec-13 1:20 
GeneralRe: How to set transparent on listbox Pin
Member 1026763012-Dec-13 1:44
Member 1026763012-Dec-13 1:44 
Questionserial port data read Pin
Member 1026351912-Dec-13 0:15
Member 1026351912-Dec-13 0:15 
AnswerRe: serial port data read Pin
Marco Bertschi12-Dec-13 1:22
protectorMarco Bertschi12-Dec-13 1:22 
QuestionHow to create an organizational chart in ASP with C# without api and HTML5 Pin
Member 1039478611-Dec-13 8:11
Member 1039478611-Dec-13 8:11 
AnswerRe: How to create an organizational chart in ASP with C# without api and HTML5 Pin
Dave Kreskowiak11-Dec-13 11:30
mveDave Kreskowiak11-Dec-13 11:30 
AnswerRe: How to create an organizational chart in ASP with C# without api and HTML5 Pin
Richard MacCutchan11-Dec-13 21:18
mveRichard MacCutchan11-Dec-13 21:18 
QuestionHow I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 4:57
delphix510-Dec-13 4:57 
AnswerRe: How I can find selected control on any window from mouse click c# Pin
Abhinav S10-Dec-13 5:09
Abhinav S10-Dec-13 5:09 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 5:16
delphix510-Dec-13 5:16 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
Dave Kreskowiak10-Dec-13 5:43
mveDave Kreskowiak10-Dec-13 5:43 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 6:55
delphix510-Dec-13 6:55 
AnswerRe: How I can find selected control on any window from mouse click c# Pin
Eddy Vluggen10-Dec-13 8:06
professionalEddy Vluggen10-Dec-13 8:06 
AnswerRe: How I can find selected control on any window from mouse click c# Pin
BillWoodruff10-Dec-13 5:52
professionalBillWoodruff10-Dec-13 5:52 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 7:03
delphix510-Dec-13 7:03 

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.