Process trouble.. -
Hi guys..
I'm going to open a web link in a form using the process way:
Process.Start("http://www.abcde.com")
Now, if the finally user closes my program, there's a way to know if the process started before is already open, and in that case close it?
Thank You..
Kill spesific proccess useing C# -
Hi all,
I have searched up and down and i can only find this VB example on how to do this. needless to say i am having trouble converting it over to c#
http://www.vbforums.com/showpost.php...03&postcount=2
For Each proc As Process In Process.GetProcessesByName("proce
Process trouble.. -
Hi guys..
I'm going to open a web link in a form using the process way:
Process.Start("http://www.abcde.com")
Now, if the finally user closes my program, there's a way to know if the process started before is already open, and in that case close it?
Thank You..
Process Methods -
Ok, I need two things. I think I already have the second one, but having a little trouble with the example I found so if anyone has a better one please share.
1. Is it possible to find all the processes using a specified file (And how)
2. How to end a process (Based on an attribute
[2005] Process Exist, Simple Hotkey -
I'm having a little trouble with this simple stuff.
I know about the process.getprocessbyname function.
I can't seem to figure out how to determine if the process exist though.
For example,
If (Process.exist == True)
{
// things to do if process does exist
}
else
{
// thi
Detecting non-Windows process -
I need to be able to detect if a process is already running from within my VB app. What makes this difficult is that this process has no window, and I did not create the process. All I know is the name of the process, as it show up in the NT Task Manager app.
Any ideas? Thanks.
Redirecting standard out in nested processes -
Let's say if I launch process A from my VB application using myProcess.StartInfo.RedirectStandardOut = True. Process A launches process B. Process A and B both have standard outputs.
My question is, in my VB app, will I only see standard out from process A? The standardout from B wi
VBA - opening excel and word file -
I am having trouble opening an excel file and word file from a command button from my access application. i have trouble numnerous steps and can't seem to get this process to work.
if i know the process id, just killing that process -
if i know the process id can i just kill that process? like if the id is 47125 how can i stop that process and shut it down?
Critical Process (System Process) -
Hello
Iam So Happy To be Here With The Greatest Programers In The World
And Iam so sorry for My First message Is A question
Iam really In A problem
Iam Making A program That Required Me Somethings But It's very Hard For Me
My problem Is :
My Program running On Win
Process ID of a DLL... -
heh, this one's got me stumped anyway... anyone know how to find the process ID of a specific DLL in memory? I can get the process ID of executable that called it, but how to get the process ID of the dll, I have absolutley no idea.
Anyone help at all?
If it helps, I also know
[2005] Custom Task Manager (How to do some things) -
Hi, I am making a custom task manager for myself but I am having trouble with a few things...
Can you answer my questions?
Question 1: Under performance there is a graphic, and the CPU usage goes up and down, what do I use to do that???
Question 2: How do I get the user name the
Process/Application Watchdog -
Hello All:
I've been searching through these forums, and although it has helped me alot, I still can't solve my problem.
I'm trying to write a little application which monitors 4 processes and then restarts the computer if one of these processes is not responding.
I hav
All About Process's... -
Hi, Im having a problem. I want to make somthing that checks if a Process is open every 3 seconds. if it is't then it closes itself.
e.g:
Process A.exe is open
Process B.exe checks if its open
Process B.exe does nothing because its open
Process A.exe closes
Process B.exe chec
Preventing a process from entering another process -
I have a program which generated the following error.
The process cannot access the file 'C:\Myfile.txt' because it is being used by another process.
I was wondering if there is any way to prevent it?
Detect if a process has ended from using End Process -
Is there a windows event that is being raised when a certain process is being end by using End Process from the task manager?
Socket programming trouble -
Hi everyone, i'm trying to do a client/server app. I have one trouble: when i send a message to server, i want to receive its answer inmediately. But also, i need to keep socket listening for another messages server can send to client without client sending a message first. That means
RpcSs -
I am runnig process A. process A is running process B (B is activeX EXE). Function I wrote to get the parent Process ID returns with the ID of the service "RpcSs.exe" and not of process A as expected. Does anyone know how to overcome this problem ?
Thanks
Name of a process -
Say, I have got a process ID, name & path of EXE file of an application connected with the process. But how can I find the process name itself?
Kill a process that was started via another process -
Ok, I have a service application that starts a process (with the Process.Start() method) but when I shutdown my service I can issue a Process.Kill() and it does indeed kill my process but it leaves any child processes open and that begins a runaway adventure with my processor.
In th
[2008] Process NOT running -
Hi!
I need to check if a certain process is NOT running.
So until now i've been using a loop and if it doesn't find the process then it alerts me (with MsgBox) however now i realized that the for each loops looks on each process and if that process isn't the one im looking for its
Process input/output -
having a bit of trouble here.
I want to redirect input from my keyboard or rather from a textbox into the Process I am running.
I have been able to successfully, I think, redirect output from a console application using the Process/ProcessStartInfo, into a textbox but now I want to
Changing the process name. -
I want to fork my app into 4 processes and have a unique name for each one that shows up in `top`. Currently, top shows the same process name for each process (eg the name inherited from the parent process) which makes life difficult when trying to kill a specific process.
Is this
Kill Process using Process ID -
Hello Everyone .......................
I know the process id of some of the processes. I want to terminate those processes using there process ids in a VB program. Its almost similar to doing it using "End Process" button in the task manager in WinNT OS environment.
Thi
help to obtain the process owner name -
Hello I `am using vb6 and with the functions on kernel32 I have been able to obtain the process list with their name but I need to know how to obtain the owners name of each process because I am developing a program that block and terminate all the unathorized process, I need to know t
Simple For loop -
Hello all,
I'm having trouble creating a program that generates 5 random numbers, takes the average, and loops through the process 100 times total.
Any help on how to do this would be appreciated.
Thank you.
How to run a process modally -
Process A starts process B. How does process A ensure that process B's window runs modally?
[2005] Find the Handle of a process -
Hi, if i have a file used by a process and i don't know what is the process how can i know the process that use the file? thx
stopping another process for a while... -
hello,
I was wondering, how can I stop a process for a while from working,
and then get it to work again?
I don't mean the process that I am creating with my app,
I mean a another process on my system...
thanks
How Can I Alter Process Outputs -
I've read articles on hooking to processes or injecting a dll into another process.
However, is it possible to alter the output of the hooked process.
For example, I have this program that makes a calculation and outputs it to either a file or another function. In this way, can i i
Making VB wait for an external process to end -
I need to be able to launch another program from my VB code (I can do that bit) but then wait until that process has finished before continuing. The SHELL(...) command I am using returns the process ID but I can't find a way of finding out when that process ends.
Any help would be
Memory Reading Help!! -
Right im having alot of trouble trying to get this to work lol. It is for a game ill admit it, im trying to read some values from the game which show how much money you have. I can find them via TSearch and every other memory reader out there so i know i have the correct address etc. R
getting th process ID using the process name... how to -
hello,
getting th process ID using the process name... how to?
thanks
How to get process handles -
Hi, i'm making a taskmanager and my Objective is for each process to know all files used by the process, so i think that i must know first all handles of the process, but i don't know if i'm in the wrong way, hope that someone can help me in VB6 or VB.net.
Thx.
Process Kill( I looked everywhere) -
I need to kill a process (actually a 'service') programmatically using VB6. This process has no forms or windows (it is a service running in the background).
All the examples I can find to kill a process involve using 'GetWindow()' to find the hWnd handle by window caption which i
Help me somebody -- >Terminate process -
Hi all.
i need some help here.
how can i terminate a process that allready started (in memory)?
i did some codes that terminate process but i had to start the process by myself and then close it.
i want to terminate a process that allready in memory!!.
(process like in
Closing programs code isn't behaving correctly -
hey. I'm having some trouble with the code to close programs. heres what I have for my code so far:
Dim px() As Process = System.Diagnostics.Process.GetProcesses 'gets processes running
'gets number of DuckySE processes
For Each Proc As Process In px 'loops throu
Winnt Process whndl association -
How do I find the window associated with process in the task list? I've tried findwindow but the window has a different title all the time so I can't use that. It always has the same process though so I wanted to work backwards from the process to the window... a little new to some of
Checking Process ID still running -
Hi y'all. Having started a process using Shell(), which returns me the process ID, how can I check whether or not the process is still running? I know I can look for an app with a certain string title but I may have more than one running with the same name and I need to be able to di
Getting owner process (PID) -
Hello... I have the PID (or handle, or window title, or whatever you want) of a process.. And I would like to know how to find out by which process this is owned.
I.e. I want to get the PID of the process that started/owns my PID.
For example how do i get the PID of explorer.exe
Change Process Name -
So far, the only way that I can think of to prevent a user from ending my program's process, is to disguise the process name. Unfortunately, I have the slightest clue on how to do this.
I've already tried disabling the task manager, but you can just use a task manager alternative to