2 Reputation Points
Ranked #4K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #107.41K
~3K People Reached
Favorite Forums
Re:
Hi, I tried to use the following code to prevent duplicate execute of my program, i pub this in the form_load event procedure: Process[] processes = Process.GetProcessesByName("C"); foreach (Process p in processes) { MessageBox.Show("Can't duplicate run this program,it is already running in the background.", "can't run again", MessageBoxButtons.OK, MessageBoxIcon.Error); this.Close(); … |