Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Dyndrilliac on May 02, 2004, 01:56 AM

Title: Question Concerning Open Processes
Post by: Dyndrilliac on May 02, 2004, 01:56 AM
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().
Title: Re:Question Concerning Open Processes
Post by: iago on May 02, 2004, 04:29 AM
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.
Title: Re:Question Concerning Open Processes
Post by: Grok on May 02, 2004, 06:54 AM
I've written VB code to enumerate processes too.  Will find and post.

Or just use this from MSDN -  (Q187913) HOWTO: List Running Processes