Quote Originally Posted by matrik02
At first I run this code, the form 1 appear.
when I click the cancel button in form1, the form1 unload. When I start again, the form2 appear.
In your cancel button, delete the registry entry that was made in Sub Main.