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.65K
~3K People Reached
Favorite Forums

1 Posted Topic

Member Avatar for danielc

hi every body i have used this method for this program. string RunningProcess = Process.GetCurrentProcess().ProcessName; Process[] processes = Process.GetProcessesByName(RunningProcess); if (processes.Length > 1) { MessageBox.Show("Application is already running", "Stop", MessageBoxButtons.OK, MessageBoxIcon.Error); Application.Exit(); Application.ExitThread(); } else { //MY PROGRAM NAME IS UPDATE if (RunningProcess == "update") Application.Run(new Form1()); else { MessageBox.Show("You …

Member Avatar for hassan-golab
0
3K

The End.