I am using 2 forms in my project. I want to hide the main form and open the second when a button is clicked.
NOTE: Both forms look exactly the same
I use this code, and it works fine:
You can set the form opacity to 0 then show form2
Me.Opacity = 0 Form2.Show() Me.Hide() Me.Opacity = 100
Then set opacity to 100 after your main form has been hidden