I'm having a problem using the (VB version) of the custom datagrid class MyDataGrid. Whenever I try to load a form that has this custom datagrid on it, I get a "Object reference not set to an instance of an object." on the ShowDialog() method. Same for Show(). This is an MDI app. Basically, here's the call:
Dim frmNote As New frmNotes()
Try
With frmNote
.CustID = mlngCustID
If .ShowDialog() = DialogResult.OK Then
End If
End With
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "btnNotes_Click")
End Try
Please help.
Thanks,
Mike =:-)