Valhalla Legends Forums Archive | Visual Basic Programming | Question Concerning Open Processes

AuthorMessageTime
Dyndrilliac
I want to get all open processes that are running and there process id's, and display them on a listview - How would I go about doing this? I used search, and tried www.pscode.com, but my results were not - comforting, to say the least. My end goal is to create a program to load patches into another processes memory in order to alter it. I am aware this project will require several API's, including GetProcess() and WriteProcessMemory().
May 2, 2004, 6:56 AM
iago
Have a look at the book "Advanced Programming" or "Programming Application in Microsoft Windows" - one of his sample programs enumerates running processes. It's written in C++, but the api calls (which are the important part) can be converted easily.
May 2, 2004, 9:29 AM
Grok
I've written VB code to enumerate processes too. Will find and post.

Or just use this from MSDN - (Q187913) HOWTO: List Running Processes
May 2, 2004, 11:54 AM

Search