You must have an *instance* of the form. Inside your FormB class, add
a variable of type FormA then overload the constructor of FormB to take
an instance of FormA. Similar to this (pseudocode):
'In FormB
Private MyFormAReference As FormA
Public Sub New(frm As FormA)
MyFormAReference = frm
End Sub
'In FormA somewhere, pass in a reference to Form A:
'Me refers to FormA
Dim MyFormB As New FormB(Me)
'Then later in FormB, you can close FormA like this:
MyFormAReference.Close
Hope this helps a little