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().
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.
I've written VB code to enumerate processes too. Will find and post.
Or just use this from MSDN - (Q187913) HOWTO: List Running Processes