when i try to evaluate TheArray.. i get the error
ArgumentNullException was unhandled.... Vaule cannot be null
How can i evaluate this to determine if the user has passed an arrary to it
or left it blank
when i try to evaluate TheArray.. i get the error
ArgumentNullException was unhandled.... Vaule cannot be null
How can i evaluate this to determine if the user has passed an
arrary to it or left it blank
"= Nothing" specifies the default value if the caller did not
(explicitly) pass the parameter, so you just have to check this:
If TheArray is Nothing Then
'no parameter passed
end if
Armin
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.