We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Problem with 5.48 How can I force the vertical scrollbar in my DataGrid to always be visible?

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 =:-)

Live Chat Icon For mobile
Up arrow icon