Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
QuestionHow to read a Card Reader in C# ? Pin
Filip D. Williams14-Mar-22 23:57
Filip D. Williams14-Mar-22 23:57 
AnswerRe: How to read a Card Reader in C# ? Pin
Richard MacCutchan15-Mar-22 1:11
mveRichard MacCutchan15-Mar-22 1:11 
QuestionWhat are Good Things to Know in a C# Interview? Pin
Xarzu14-Mar-22 11:52
Xarzu14-Mar-22 11:52 
AnswerRe: What are Good Things to Know in a C# Interview? Pin
OriginalGriff14-Mar-22 12:29
mveOriginalGriff14-Mar-22 12:29 
AnswerRe: What are Good Things to Know in a C# Interview? Pin
Dave Kreskowiak14-Mar-22 14:36
mveDave Kreskowiak14-Mar-22 14:36 
GeneralRe: What are Good Things to Know in a C# Interview? Pin
lmoelleb14-Mar-22 23:28
lmoelleb14-Mar-22 23:28 
GeneralRe: What are Good Things to Know in a C# Interview? Pin
Member 1227854218-Mar-22 8:25
Member 1227854218-Mar-22 8:25 
AnswerRe: What are Good Things to Know in a C# Interview? Pin
Eddy Vluggen14-Mar-22 14:39
professionalEddy Vluggen14-Mar-22 14:39 
Questionc sharp Pin
vishnu satpathy12-Mar-22 7:26
vishnu satpathy12-Mar-22 7:26 
AnswerRe: c sharp Pin
OriginalGriff12-Mar-22 7:37
mveOriginalGriff12-Mar-22 7:37 
QuestionSend a mail that has Arabic characters using Gmail API Pin
mahmoud199011-Mar-22 11:05
mahmoud199011-Mar-22 11:05 
AnswerRe: Send a mail that has Arabic characters using Gmail API Pin
Randor 11-Mar-22 13:17
professional Randor 11-Mar-22 13:17 
QuestionGenerate Textbox on runtime Pin
Saim Ullah 20219-Mar-22 22:47
Saim Ullah 20219-Mar-22 22:47 
QuestionRe: Generate Textbox on runtime Pin
Richard MacCutchan9-Mar-22 23:38
mveRichard MacCutchan9-Mar-22 23:38 
AnswerRe: Generate Textbox on runtime Pin
Saim Ullah 202110-Mar-22 0:23
Saim Ullah 202110-Mar-22 0:23 
GeneralRe: Generate Textbox on runtime Pin
Richard MacCutchan10-Mar-22 0:31
mveRichard MacCutchan10-Mar-22 0:31 
GeneralRe: Generate Textbox on runtime Pin
Saim Ullah 202110-Mar-22 0:41
Saim Ullah 202110-Mar-22 0:41 
GeneralRe: Generate Textbox on runtime Pin
Richard MacCutchan10-Mar-22 0:45
mveRichard MacCutchan10-Mar-22 0:45 
AnswerRe: Generate Textbox on runtime Pin
OriginalGriff10-Mar-22 0:12
mveOriginalGriff10-Mar-22 0:12 
GeneralRe: Generate Textbox on runtime Pin
Saim Ullah 202110-Mar-22 0:34
Saim Ullah 202110-Mar-22 0:34 
GeneralRe: Generate Textbox on runtime Pin
OriginalGriff10-Mar-22 1:08
mveOriginalGriff10-Mar-22 1:08 
If you use the debug they you either know it is the pnlTextbox that is null, it's Controls collection that is null, or the txt is null.

So take that knowledge back to the debugger, and look at where those values are set - i.e. where they become null - to start looking at why.
Debuggers don't fix code, they let you gather information on why it's wrong, and that lets you fix it.

Saying "this is null" is a symptom, not the disease - and you don't treat symptoms when the disease is what's killing you!

And we can't do that for you - we just don't have any way to run your code under the same circumstances!
"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: Generate Textbox on runtime Pin
Saim Ullah 202110-Mar-22 7:59
Saim Ullah 202110-Mar-22 7:59 
AnswerRe: Generate Textbox on runtime Pin
RedDk10-Mar-22 8:26
RedDk10-Mar-22 8:26 
GeneralRe: Generate Textbox on runtime Pin
Richard MacCutchan10-Mar-22 22:21
mveRichard MacCutchan10-Mar-22 22:21 
GeneralRe: Generate Textbox on runtime Pin
RedDk11-Mar-22 8:06
RedDk11-Mar-22 8:06 

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.