I am tring to catch a NilObjectException in the follwoing code…
location.Address = lbContacts.Cell(lbContacts.ListIndex,1)
Catch e As NilObjectException
MsgBox “Not Found. The entered address is probably not valid.”
I also tried Catch e As RuntimeException. Neither catch the errror. The app stops with a NilObjectException error on “Location.Address =…” where the error is expected.
What am I doing wrong, or am I not understanding how this works?