Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
GeneralRe: please help! this is urgent> how to retrieve data to my tabpage without using data form wizard? Pin
Mohamad Al Husseiny16-Aug-05 9:26
Mohamad Al Husseiny16-Aug-05 9:26 
GeneralRe: please help! this is urgent> how to retrieve data to my tabpage without using data form wizard? Pin
nidhelp16-Aug-05 17:43
nidhelp16-Aug-05 17:43 
GeneralDataSet Pin
samoore16-Aug-05 5:37
samoore16-Aug-05 5:37 
GeneralRe: DataSet Pin
Alomgir Miah16-Aug-05 6:11
Alomgir Miah16-Aug-05 6:11 
GeneralRe: DataSet Pin
Mohamad Al Husseiny16-Aug-05 7:06
Mohamad Al Husseiny16-Aug-05 7:06 
GeneralSerialization Help Pin
comingsoon16-Aug-05 5:21
comingsoon16-Aug-05 5:21 
GeneralWinXP Events Pin
Member 217623716-Aug-05 5:07
Member 217623716-Aug-05 5:07 
GeneralRe: WinXP Events Pin
snouto16-Aug-05 7:58
snouto16-Aug-05 7:58 
hi my friend,
for your problem i don't get exactly what do you mean if you are trying to see if one external file is already running or not in your task manager processes list you have to know first the name of the file you would like to trace something like for example "notepad.exe"
if this is the file you want to see if it is already running or not you can do that by checking its name in your task manager processes by its name as follows
<br />
Process[] processes = System.Diagnostics.Process.GetCurrentProcesses();<br />
for(int i = 0 ; i < Processes.Length ; i++)<br />
{<br />
if(processes[i].ProcessName == "notepad")<br />
{<br />
Console.WriteLine("Yeah The File Is already Running");<br />
//if you want to close it you can handle that easily<br />
//by the following<br />
processes[i].Kill();<br />
}<br />
}<br />


Miss With The Best And Die Like The Rest
GeneralRe: WinXP Events Pin
Mohamad Al Husseiny16-Aug-05 8:01
Mohamad Al Husseiny16-Aug-05 8:01 
GeneralPointers in C# Pin
praveenpreky16-Aug-05 4:18
praveenpreky16-Aug-05 4:18 
GeneralRe: Pointers in C# Pin
S. Senthil Kumar16-Aug-05 4:32
S. Senthil Kumar16-Aug-05 4:32 
GeneralRe: Pointers in C# Pin
praveenpreky16-Aug-05 4:38
praveenpreky16-Aug-05 4:38 
GeneralRe: Pointers in C# Pin
S. Senthil Kumar16-Aug-05 7:31
S. Senthil Kumar16-Aug-05 7:31 
GeneralRe: Pointers in C# -IntPtr Pin
praveenpreky16-Aug-05 18:39
praveenpreky16-Aug-05 18:39 
GeneralRe: Pointers in C# -IntPtr Pin
S. Senthil Kumar16-Aug-05 19:36
S. Senthil Kumar16-Aug-05 19:36 
GeneralRe: Pointers in C# -IntPtr Pin
praveenpreky16-Aug-05 20:14
praveenpreky16-Aug-05 20:14 
GeneralRe: Pointers in C# -IntPtr Pin
S. Senthil Kumar17-Aug-05 0:53
S. Senthil Kumar17-Aug-05 0:53 
GeneralRe: Pointers in C# -IntPtr Pin
praveenpreky17-Aug-05 3:53
praveenpreky17-Aug-05 3:53 
Generalserialize Value in a CData section Pin
Stefan Hornung16-Aug-05 4:10
Stefan Hornung16-Aug-05 4:10 
GeneralRe: serialize Value in a CData section Pin
Alomgir Miah16-Aug-05 6:29
Alomgir Miah16-Aug-05 6:29 
GeneralRe: serialize Value in a CData section Pin
Stefan Hornung17-Aug-05 20:47
Stefan Hornung17-Aug-05 20:47 
GeneralRe: serialize Value in a CData section Pin
Alomgir Miah18-Aug-05 3:44
Alomgir Miah18-Aug-05 3:44 
Generalemail generation help required Pin
ashkitt16-Aug-05 3:55
ashkitt16-Aug-05 3:55 
GeneralRe: email generation help required Pin
Darryl Borden16-Aug-05 5:34
Darryl Borden16-Aug-05 5:34 
GeneralNewLine Key Pin
zaboboa16-Aug-05 3:52
zaboboa16-Aug-05 3:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.