Posts
 
Reputation
Joined
Last Seen
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
1 Commented Post
0 Endorsements
Ranked #107.41K
~3K People Reached
Favorite Forums
Member Avatar for danielc

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(); …

Member Avatar for hassan-golab
0
3K