473,378 Members | 1,688 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Project References - How do I get the DLL Version Numbers

In my windows application, my project has references to many DLL's.

What I want to do is create an "about" form with a version info button. On
clicking this button, the user will be able to view a list of all the
referenced DLL's along with their respective version numbers.

Being a real rookie, I don't really know where to start.

Can anyone give me some idea's on how to do this.
Jul 21 '05 #1
2 1834
Hi,

First of all, if you knw the reference dll that are used by your applcation
and you know where there are located, If your reference are not shared
betwenn deferent application they will be local or in the GAC

Based on that the first think to do is collecting the the list of library
file.
Then from each of those file, your are able to retrive the file version
number by using FIleIO framework class.

If you need more details on the assemblie information then you can use the
Reflexion name space where you will find function to get assemblie information

Hope it helps
serge
"Supa Hoopsa" wrote:
In my windows application, my project has references to many DLL's.

What I want to do is create an "about" form with a version info button. On
clicking this button, the user will be able to view a list of all the
referenced DLL's along with their respective version numbers.

Being a real rookie, I don't really know where to start.

Can anyone give me some idea's on how to do this.

Jul 21 '05 #2
I want to create a dynamic list at runtime of all the DLL's referenced by my
project and to then find & display the DLL name & version number. I don't
want to have to manually code each DLL that I know is used, otherwise I will
have to revisit this code everytime a reference is added/deleted.

I have heard of reflection, but I am afraid I have no idea as to how to use
it. I will try reading up on it though.

In the meantime, can anyone tell me how I can create this list of referenced
DLL's?
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Patty Lorge | last post by:
Hello, I checked the Help and it says you Add/Remove COM components and Type Libraries to Projects by selecting the menu item Project-->Add References. However my Project does not have the Add...
9
by: Xah Lee | last post by:
in coding Python yesterday, i was quite stung by the fact that lists appened to another list goes by as some so-called "reference". e.g. t=range(5) n=range(3) n='m' t.append(n) n='h'...
12
by: Jones | last post by:
I am having problems with my C# project. The project was built using VS.net (original release with service pack 1). The project includes windows forms and a DLL (dot.net) After getting the...
2
by: Supa Hoopsa | last post by:
In my windows application, my project has references to many DLL's. What I want to do is create an "about" form with a version info button. On clicking this button, the user will be able to view...
2
by: sonu | last post by:
Hi all, I have developed an application in which there are uptill now 12 projects and few of them are dependent on each other. The problem is I am not able to manage the references across...
5
by: Richard J Foster | last post by:
Hi there, I have a pair of C# projects in VS2003. The first project, a dll, is referenced in the second via a project reference. The assemblies in question are delay-signed during a...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
2
by: clintonb | last post by:
I'm using: Microsoft Visual Studio 2005 Version 8.0.50727.42 Issue 1: We have a solution with a web project and some class library projects. The web project references the class library...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.