I haven't done VB.NET for a long while so this is probably a silly
question, but why can't you just step into that function see where it
is failing?

On 8 April 2014 18:10,  <[email protected]> wrote:
> I have a function with  about 10 arguments,  one of the variables is
> failing,  ie Object reference not set to an instance of an object.
>
>
>
> Is it possible to determine which variable is causing the issue?
>
>
>
>
>
> Public Function AddCustomer(ByVal CustomerId As Nullable(Of Integer), ByVal
> Company As String, ByVal TradingAs As String, ByVal AccessName As String,
> ByVal Address As String, ByVal Address2 As String, ByVal Suburb As String,
> ByVal State As String, ByVal Postcode As String, ByVal CountryId As Integer,
> ByVal PostalAddress As String, ByVal PostalAddress2 As String, ByVal
> PostalSuburb As String, ByVal PostalState As String, ByVal PostalPostcode As
> String, ByVal PostalCountryId As String, ByVal Phone As String, ByVal Fax As
> String, ByVal Email As String, ByVal Firstname As String, ByVal Lastname As
> String, ByVal UserEmail As String, ByVal Username As String, ByVal
> UserPassword As String, ByVal Website As String, ByVal Mobile As String)
>
>
>
>

Reply via email to