Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Process.start(exe) is it running?
Message
De
01/05/2007 11:42:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/05/2007 10:45:41
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01221490
Message ID:
01221521
Vues:
7
This message has been marked as the solution to the initial question of the thread.
>Hi
>how do I check if an exe is already running?
>TIA
>Stuart

System.Diagnostics.Process

Process[] runningProcesses = Process.GetProcesses();
Process[] wordInstances = Process.GetProcessesByName("winword");

PS: If you know particular id:
Process myProcess = Process.GetProcessById( ... );

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform