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
Solved

How to find dependencies of an executable?

Posted on 2002-07-10
16
306 Views
Last Modified: 2013-11-22
How to find dependencies of an exe file
0
Comment
Question by:compwarm
  • 9
  • 6
16 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 7142993
Use Depends.exe, this may be in your \windows\system or \winnt\system32 folder. Or alternatively it ships with .NET and can be found somewhere in the folder tree.

Do a search for this executable and run it, you can then select your exe file and a list of all the dependencies will be shown.
0
 

Author Comment

by:compwarm
ID: 7143040
Thank you. but i am in need of some vb code snippet to find out dependencies and registry entries of an executable.
0
 

Author Comment

by:compwarm
ID: 7143063
Thank you. but i am in need of some vb code snippet to find out dependencies and registry entries of an executable.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7144174
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7144180
0
 

Author Comment

by:compwarm
ID: 7161723
Not in type lib...

Given a exe file, i need to find out what are all the dlls this exe utilises and what are all the registry entries this exe makes. i need this to be done using VB
0
 

Author Comment

by:compwarm
ID: 7161728
Not in type lib...

Given a exe file, i need to find out what are all the dlls this exe utilises and what are all the registry entries this exe makes. i need this to be done using VB
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7162009
http://www.domaindlx.com/e_morcillo/scripts/cod/default.asp
Scroll page down to "Get info about EXEs, DLLs, OCXs and
any other PE (portable excutable) files"

zipfile: http://www.domaindlx.com/e_morcillo/download.asp?type=cod&file=grl_pe
0
 

Author Comment

by:compwarm
ID: 7179816
it works, Thanks.
But i don't find solution for finding out the registry keys
set by the application.

0
 

Author Comment

by:compwarm
ID: 7179825
it works, Thanks.
But i don't find solution for finding out the registry keys
set by the application.

0
 

Author Comment

by:compwarm
ID: 7179873
it works, Thanks.
But i don't find solution for finding out the registry keys
set by the application.

0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 200 total points
ID: 7180034
Sorry. i cannot help you in reg part. Exe could writes values in any place!
0
 

Author Comment

by:compwarm
ID: 7184437
Anyway thanks
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7185203
Just a question, why "B" grade?
0
 

Author Comment

by:compwarm
ID: 7187909
sorry, if i have offended you anyway. My intention is not that. since i got answer for one out of my two question i graded B .
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7188082
:)), you did ONE question only ("How to find dependencies of an exe file "), AND append OTHER to it.
Just to clarify.
Cheers
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

860 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