Hi guys,
Im pretty new to vb .net. What im trying to do it I have 2 forms.
First of all I have created a Module with the code:
Module Module1
Public Start As New Form1
Public Input As New Form2
Public Sub main()
Application.Run(Input)
End Sub
Form1 has a button which when pressed opens Form2 which is ok but it just doesnt close down Form1. I have also tried using Form1.hide(), same results with this too.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.Show()
Form1.Close()
I've tried searching the net but I cant find anyone else who has this problem...