Solved

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

Posted on 2011-02-20
3
895 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

717 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