Solved

Get list of modules loaded in a process with Visual Basic 6

Posted on 2011-02-20
3
882 Views
Last Modified: 2012-05-11
I need to be able to pass a process id to a function and then have that function populate a listbox with all of the loaded modules. This needs to be in VB6 and should be able to work with Windows 7  32 and 64 bit. I found some code and it sorta works, but it is inaccurate.
0
Comment
Question by:advcom
  • 2
3 Comments
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 500 total points
ID: 34940904
>> but it is inaccurate

Can you show us some code. What is not accurate ? Only on a specific system (fe 32bit or 64bit) ?
0
 

Accepted Solution

by:
advcom earned 0 total points
ID: 34958808
Well, I thought there were duplicate dlls being shown, but after I had it show the full path to the dll's, I noticed that the two dll's have different paths. Guess there is not an issue after all.
0
 

Author Closing Comment

by:advcom
ID: 34990920
I figured it out myself
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Monitoring local administrators members 6 66
Zip Folders Using Chilkat Routines 1 36
Questions about DHCP migration 5 56
Automatic Email Reminder 4 36
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question