o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

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 distinguish between the two.
Thanks for any help,

Toot

 

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


Checking for a Process -
Is there a way to check the process list (as in Task Manager)? I'm setting up some scripts to automate the running of SAS batch jobs. It is very kludgy, but just a temporary measure until everything else is in place. I have a script that looks for source files. If they are not pr


Checking a ProcessID and seeing if it crashed or has spawned Error Messages -
What's the most CPU efficient way of checking to see that a process is running? I already have the processID. Here's my conundrum. I start a program with shellexecute, find it's process ID and Handle from the EXE name. Now I'll want to put some code in a timer, about every 10 seco


[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


Getting The Task Manager Data File... -
Hi... i am making an application whick checks for the current running process and also closed it.for closing the process i require the processid(no doubt .i have done it with getwindowprocessid api.)but the problem begines form here..that all the process getting apis only returns th


[2005] List Running Process -
Hi all, I am using this code this code to list the all the running proces handle Code: for each p as process in Process.GetProcesses listbox1.items.add(p.mainwindowtitle) next The problem with this code is , if i am c


Detecting a New Process Running... -
I need my program to detect when a new process is running for example, if i open notepad, it will notice that a new process just began running, and get that new process's name such as notepad.exe into a string. Thanks!


check for another program running -
I want to make a small 'watchdog' program in VB6 that will constatly check that another (known) VB program is running, if it is not then reboot the machine after 10 minutes. (both programs will be set to auto start on reboot). I know the API to do the reboot, how do it do the


Checking if file is in use by another process -
I am trying to delete a file that gets moved to another folder. If this file gets moved to the new folder, and meets certain criteria, I want to immediately delete the file. However, I think the operating system is locking the file during the move, so when I delete it, I


terminating a process and deleteing a exe -
hi i was wondering if it was possable to terminate a process that is running in the memory then for vb to delete the (exe) that was running in the process. if that makes sence =]. thax in advance =] masterhoulahan.


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.


Determine if a process is running, then kill it -
How do I find out if a process is running, if it is running I want to kill it. Let's say the process is notepad.exe I appreciate if someone post the code for me.


Process finder in VB -
Hi I need to find whether a process is running. If the process is running more than twice i need to stop further execution. Is there anyway to find how many exe of same application is running Thanks JJ Mahesh


API for getting process handle -
Is there any API for getting the process handle for a program. e.g. if Notepad.exe is running on my PC can I get the process handle for that. Or is there anyway I can find if notepad.exe is running and if it is running kill it. Getting the process handle will resolve other things. Any


look for process -
i want to make sure that some code in a timer only runs when this process is running and stops when the process is not running. the process is called HL2.exe im currently making a program that will make screenshots at random times when this game is open. so i need to run the tim


Detecting if a process is running by PID # -
Ok, I have run into a few problems with the way I currently check to see if a process is running. It grabs the process list and checks each process for the PID # assigned by the CreateProcess. This is nice except times that by an everysecond check to make sure it is running. Doing this


Process running at back end[urgent] -
I have pentium IV and 256 MB RAM.I m using windows xp . i have certain problem with my pc that it starts hanging after some time or getting bit slow.even I open two IExplorer windows and MSN . and when i press Ctrl+Alt+Delete it shows certain process running at back end i m sending u s


Cursors/Record checker -
Hi to all, I have a problem with my upload process in Database. The upload of data was processed easily but the checking process takes a long time. I used cursor in the process of checking. It checks all the content of 3 tables and comparing it if there are null or invalid data the


Overwriting a "running" executable -
Hi everybody: I think I have quite a pickle in my hands, here´s the thing: I have a VB program running (let´s call it A), and I have to do a "live update", that will work like this: A will download some files (including A.exe) and copy them to a temp dir, then it will sh


checking already running instance of my application. -
How do I check if the program is already running and if already running then unload it with a message. Either it is running from the same location or new.


Exit program in debugger run mode -
Sometimes when I close my program by clicking on the X in the upper Right corner AND I'm running in debugger mode with the VB6 IDE running in the back ground, it doesn't stop. If you click on the RUN menu END is still not grayed out, which indicates the program is still running, alth


Check if an app is running. -
I did this once years ago and lost the project - but now i actually need to figure this out. I need to detect whether or not Outlook.exe is a running process, hidden or not. I think I could use EnumWindows, but that's too much work for just one process. I tried FindWindow, but it c


[resolved]URGENT end a running process -
How do you end a running process? This is really urgent cos I have to get offline VERY soon... Please... I've SCOURED the internet and found a code , but I don't know how I can get it to end a specific process silently?!


[3.0/LINQ] Event handler for when a process starts -
Hi everyone. I read about a way to create an event handler for when a running process is stopped e.g. Process x p= Process.GetProcessesByName("msnmsgr"); x= p[0]; x.EnableRaisingEvents = true; x.Exited += new EventHandler(x_Exited); However i was wondering if the


list of running processes -
Basically I want to get a list of all the running processes and their address in the memory so I change certain things while their running. Quite similar to the way WinHack 2.0 (or similar program) does it. Just give me an idea how you'd get a list of running process and then what woul


running a process from a vb.net app -
I am trying to run a process using the process object in a vb.net app. I am also capturing both the standard output and the error output from the process in the app by redirecting the output. When I run the app in the .net IDE, everything works fine, but when I run the .exe directly


how to tell if a process is running -
how can i tell if a process/program is current running using vb.net? also if the program is running how can i bring it to focus?


Process Controller -
Right then, this is basically a program that monitors all running processes, and when a new process is launched, it checks it - if it's on your allowed list, then it lets it run, if it's on your blocked list, it blocks it from running, if it isn't on either, then it suspends the proce


Putting all running Process in a List box -
Hi.. I know how to terminate a running process but i want to know how to put the Running Applications in a list box


process.start + some -
OK ive built my application and also a checking app with does what it needs to do my checking app will use process.start("blah.exe") to start my main application which is installed on the computer i guess its something to do with enviroment variables ?? but my mai


[2005] Getting process name -
I am writing an app the uses a filedialog to open another app for use. It checks to see if the program is running by openeing a filestream. If it isn't, it runs it by process.start(filename) where filename is something like "c:\Program Files\....\.exe". I then extract the pro


help in blocking processes(firewall like application) -
hiii, I have been working on a firewall like application.....i can enumerate the process that are running as well as the process that are running in the background ie the services...what i need now is that how i can block the process on the basis of IP address, Port no.....Please he


Process is running. -
how do i check if a process is running, im making a program that starts "notepad" etc, if it aint allready open... something like, if process("notepad") running then ---- else run notepad kinda thing


Runing processes and checking them -
Hello. I'm a beginner so I need some help with Visual basic. 1. I need some example on how to work and create a system icons on taskbar. These system icons are icons shown where the clock is shown on taskbar at the bottom right. Then how to create popup messages and etc.


Checking iF Apps are running.... -
when you press ctrl + alt + del, the taskmanager pops up and displays all the running apps nad Iwant to make a prog that detects if app.exe is running and if its running to close it.


Checking if another application is running -
Is there a way to check and see if another program is running? I want to be able to see if Excel is running and if it is use the instance already open instead of making another.


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


running process -
When im running a large process my program locks the pc, How can I make this run and allow the form to be moved etc? si


How to check if a process is running -
I want to make my application as user friendly as possible with minimal chances of crashing. I've done lots of error handling and am stuck on the following part. I want to make a "Load" button that will check whether a specific process is running. For example, let's say I


Username associated with a process -
Does anyone know if there is an API that will determine a distinct user associated with a running process. In a case of a terminal services server there may be more then one user logged on using the same application. If you are using createtoolhelp32Snapshot or other form of determin