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
1 Posted Topic
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 …
The End.
hassan-golab