Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

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