Put code in the Click event of the command button to call another form and
add "Unload Me" - this way you will have only one form.
Private Sub Command1_Click()
Form1.Show
Unload Me
End Sub
-----Original Message-----
From: Marcelo T. Velasquez [ mailto:dicasvelasquez@b...
<mailto:dicasvelasquez@b...> ]
Sent: Monday, August 21, 2000 4:51 PM
To: professional vb
Subject: [pro_vb] open and close forms
Hi
I have 2 forms (form_A and form_B), I have a button in toolbar that call
the form_B, but inside form_B I have a button that call form_A. I want call
form_A from form_B, but I want close form_B, because I too have an button
in form_A that can call form_B. When I close form_B and call Form_A and I
click in button in the form_A It call other instance
thank you in advance