Hi Friends
I Created two Form. Form1,Form2 And A button Named Login In the Form1 When I Click Login It Will Navigate To Form2 When I Close The Second Form Using The Close Button The Previous Form1 Is Still There
I writed This Code On The Login Button Click Event
Sub Button1_Click
Form2.Show
Form1.Close
End Sub
But The Whole Application Is Exit. Is There Any Way To Close The First Form?
Please Help me
Please See The Example
jothis
:sign0085::sign0085:
I Created two Form. Form1,Form2 And A button Named Login In the Form1 When I Click Login It Will Navigate To Form2 When I Close The Second Form Using The Close Button The Previous Form1 Is Still There
I writed This Code On The Login Button Click Event
Sub Button1_Click
Form2.Show
Form1.Close
End Sub
But The Whole Application Is Exit. Is There Any Way To Close The First Form?
Please Help me
Please See The Example
jothis
:sign0085::sign0085:
Attachments
Last edited: