How do I load x forms with the same button (VB2005)

I want to do what they took out in 2002-2003, so that when i selecte a button, a form will apear. If i hit the button again, another form exactly the same will apear, i don't know how to do this in vb 2005.
[207 byte] By [EricCrystal] at [2007-12-24]
# 1

I'm not sure I understand your question, but if you need to create multiple forms with the click on the same button, you can do it with this simple piece of code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim form As New
Form2()
form.Show()
End Sub

Andrej

AndrejTozon at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...