Click here to Skip to main content
15,900,906 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
HI,

i have two win form application. i need to check that when user open app 2 , by clicking on icon it should check if app 1 is running or not. if app 1 is running than and only app 2 should open otherwise it will just show a message box that please open app 1 first and then open app 2.

i know that from single app we can check the whether the process is running or not but don't know how we can check this from other application.
Posted
Updated 9-May-14 0:23am
v2
Comments
agent_kruger 9-May-14 10:18am    
sir, can you try to reframe the question it cannot be understood easily.

There are loads of examples out there but this CodeProject article might help Finding and Listing Processes in C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900