Click here to Skip to main content
16,005,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Regrading Remote Access of My Application Pin
Paramu19733-Aug-09 4:40
Paramu19733-Aug-09 4:40 
GeneralRe: Regrading Remote Access of My Application Pin
Dave Kreskowiak3-Aug-09 7:48
mveDave Kreskowiak3-Aug-09 7:48 
QuestionHow I fill different image boxes through a loop VB.NET Pin
athinaix3-Aug-09 0:45
athinaix3-Aug-09 0:45 
AnswerRe: How I fill different image boxes through a loop VB.NET Pin
Johan Hakkesteegt3-Aug-09 1:37
Johan Hakkesteegt3-Aug-09 1:37 
AnswerRe: How I fill different image boxes through a loop VB.NET Pin
Henry Minute3-Aug-09 1:38
Henry Minute3-Aug-09 1:38 
GeneralRe: How I fill different image boxes through a loop VB.NET Pin
athinaix3-Aug-09 1:49
athinaix3-Aug-09 1:49 
GeneralRe: How I fill different image boxes through a loop VB.NET Pin
Henry Minute3-Aug-09 1:56
Henry Minute3-Aug-09 1:56 
GeneralRe: How I fill different image boxes through a loop VB.NET Pin
dan!sh 3-Aug-09 2:24
professional dan!sh 3-Aug-09 2:24 
QuestionTest For Null Pin
JasonD_S3-Aug-09 0:12
JasonD_S3-Aug-09 0:12 
AnswerRe: Test For Null Pin
dan!sh 3-Aug-09 0:21
professional dan!sh 3-Aug-09 0:21 
GeneralRe: Test For Null Pin
JasonD_S3-Aug-09 0:39
JasonD_S3-Aug-09 0:39 
GeneralRe: Test For Null Pin
dan!sh 3-Aug-09 1:01
professional dan!sh 3-Aug-09 1:01 
General[Message Deleted] Pin
Johan Hakkesteegt3-Aug-09 1:05
Johan Hakkesteegt3-Aug-09 1:05 
GeneralRe: Test For Null Pin
JasonD_S3-Aug-09 1:15
JasonD_S3-Aug-09 1:15 
GeneralRe: Test For Null Pin
Johan Hakkesteegt3-Aug-09 1:28
Johan Hakkesteegt3-Aug-09 1:28 
You're on the right track though.

The best way to go is to start of with the Try Catch block and MsgBox(ex.ToString) in the Catch clause. Turning on line numbers in your code editor is also a good idea.

Then when you get these NullReferenceExceptions, you'll know exactly which object is causing the error.

Next thing is combining checks, on separate lines, so that you always first check for Is Nothing, and only then for anything else like null or empty strings, etc.

My advice is free, and you may get what you paid for.

GeneralRe: Test For Null Pin
JasonD_S3-Aug-09 1:55
JasonD_S3-Aug-09 1:55 
AnswerRe: Test For Null Pin
Kschuler3-Aug-09 8:01
Kschuler3-Aug-09 8:01 
QuestionHow do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Kobi_Z2-Aug-09 21:38
Kobi_Z2-Aug-09 21:38 
AnswerRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Christian Graus2-Aug-09 22:00
protectorChristian Graus2-Aug-09 22:00 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Kobi_Z2-Aug-09 22:25
Kobi_Z2-Aug-09 22:25 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Christian Graus2-Aug-09 22:28
protectorChristian Graus2-Aug-09 22:28 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
riced2-Aug-09 23:41
riced2-Aug-09 23:41 
AnswerRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
dan!sh 2-Aug-09 22:43
professional dan!sh 2-Aug-09 22:43 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Kobi_Z3-Aug-09 0:22
Kobi_Z3-Aug-09 0:22 
AnswerRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
KarstenK3-Aug-09 0:39
mveKarstenK3-Aug-09 0:39 

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.