Ok, then on the second form, I have a back button with this code:
Dim GeoF As New GeometryForm GeoF.Show() Me.Close()
Where the GeometryForm is the main form.
Ok all of the above works.
However, when I get back to the main form and click "Exit" it closes the program however it is still in the memroy and even Visual Studio says it isn't done debuggin.
I've tried both of the following for the exit button on the main form.
Private Sub BackButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BackButton.Click Me.Dispose() End Sub
Private Sub BackButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BackButton.Click Me.Close() End Sub
I've also tried changing the "Private" to Public for the exit button, but that didn't change anything at all. (or affect anything at all)
Any ideas would be greatly appreciated... I want it to really close