How to open up a form from another form in VB.NET?
vb.net
Solution
Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) _
Handles Button3.Click
Dim box = New AboutBox1()
box.Show()
End Sub
Problem
This I thought would be easy. I have not used VB.NET all that much, and I am trying to open up a form from a button click. The form will not show and I get a null exception error. What is wrong with the code? ``` Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click Dim A A = AboutBox1 A.Show() End Sub ```