johsns
johsns

Reputation: 61

How to prevent multiple instances of my application

I discovered a bug in visual basic. In practice, after completing my application, clicking on the executable file that starts normally, but if I click again on the executable file (exe), inexplicably opens a second window, getting two processes started unnecessarily. I was wondering if there was a way, maybe in some settings, to start the application once and only if you have already started and the user clicks on it again, the controls and not the start. You can do this?

Upvotes: 3

Views: 8718

Answers (1)

Steve
Steve

Reputation: 216302

Just go to the Project properties and set the appropriate checkbox

enter image description here

Upvotes: 13

Related Questions