3
Reply

how you can open another process in c#?

naveen kumar

naveen kumar

15y
4.6k
0
Reply

    you have to use the process and processstartinfo class which can be found in System.Dignostics nameplace

    Here is the sample code

    using System.Diagnostics;

    process p=new process();

    p.startinfo.FileName="mspaint" //or path of any exe the current wil start a ms paint processs

    p.start();

    write this code behind buttton click event

    ya i have to open the process in my own application.

    Can you clarify if you want to open(start) another process through your own Application (which depends on your role level ) or do you want to access an running process ?

    Clarification will be well appreciated ..

    Regards
    Prasoon