Reputation: 1
When I try to show a form, I have to use ShowDialog instead of Show. (This is causing problems later in my code.) When I use show, the form pops up for a second and then the program closes. (VB.Net 2003)
Upvotes: 0
Views: 89
Reputation: 23103
Use Application.Run()
after showing your form so the application can continue working.
Or use Application.Run(yourForm)
which will show your form and keep the application running until the yourForm
closes.
Upvotes: 1