Norak
Norak

Reputation: 477

Allow only one application instance

I'm sorry about my title may be it make you confusing (it's just I don't know what words should I use). My problem is I don't want to allow user to open my application multiple time. Please help. Thank you in advance.

Upvotes: 8

Views: 16909

Answers (2)

Amr Moussa
Amr Moussa

Reputation: 11

Use the “Make single instance application” flag; in the solution explorer

Upvotes: 0

Geoff
Geoff

Reputation: 8850

Use the “Make single instance application” flag; in the solution explorer, right-click the project and select properties. See this question for more details.

MSDN documentation here.

Screenshot:

enter image description here

Upvotes: 19

Related Questions