Hi palanivels,
Do this change: Project �Properties�Application tab→Shutdown mode = "When last form closes". Then try something like this:
Code Snippet
Sub linkBt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles linkBt.Click
Dim f As Form = New Form()
f.Text = "New Linked Form"
f.StartPosition = FormStartPosition.Manual
f.Location = Me.Location
f.Size = Me.Size
f.Show()
Me.Close()
End Sub
Hope this helps.
Regards
|