473,325 Members | 2,870 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,325 software developers and data experts.

get list of assemblies: Help

Mat
I would like to show in ABOUT BOX of my application list of assemblies( not
..NETframework assemblies,but companies assemblies) including version and
path of each of them which application is using...

i have no idea about how to get them dynamically

Thanks for HELP
Nov 20 '05 #1
2 979
If they are installed in GAC you can use RuntimeEnvironment class methods to
get to them
If not - like in xcopy deployment model - you have to know folders where
they do reside

You can use standard file / directory operations to get necessary
information about .dll and .exe you have

HTH
Alex
"Mat" <re**********@fuckSpam.COM> wrote in message
news:uw*************@TK2MSFTNGP10.phx.gbl...
I would like to show in ABOUT BOX of my application list of assemblies( not .NETframework assemblies,but companies assemblies) including version and
path of each of them which application is using...

i have no idea about how to get them dynamically

Thanks for HELP

Nov 20 '05 #2
"Mat" <re**********@fuckSpam.COM> schrieb
I would like to show in ABOUT BOX of my application list of
assemblies( not .NETframework assemblies,but companies assemblies)
including version and path of each of them which application is
using...

i have no idea about how to get them dynamically


Get the assembly by calling System.Reflection.Assembly.GetExecutingAssembly,
then use it's GetReferencedAssemblies method.
--
Armin

http://learn.to/quote
http://www.plig.net/nnq/nquote.html

Nov 20 '05 #3

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

Similar topics

2
by: Thomas Miller | last post by:
Hello, I have built a c# class library (I will call it "Assembly1"), and built an installer that installs it. It is working well. I created a new asp.net application, right-clicked on references...
1
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while...
3
by: Rico Hansen | last post by:
Hi NG! Does anyone know how to view all references in a listbox the same way when clicking the "add reference"? When clicking "add references" it's shown in a listview with Component name,...
7
by: thechaosengine | last post by:
Hi all, Can anyone tell me if it is advisable (or even possible) to define a namespace across 2 or more assemblies? For example, consider the namespace SampleApplication.Data.Providers ...
8
by: Charles Law | last post by:
I'm sorry to keep harping on about this one, but it is really quite important for me to be able to list _all_ required assemblies in my Help About box. Herfried kindly posted some code before that...
0
by: lbolognini | last post by:
Hi all, How do i get a list of all cross-referenced assemblies starting from a foo.dll? i'd like to have a unique list of all the assemblies dependant on foo.dll and of all the assemblies that...
2
by: Fabio Z | last post by:
Hi all! I'd like to get the list of loaded modules by my assembly, like VS does at debug time in the loaded modules window. I load some assembly via Assembly.LoadFile() and I'd like to retrieve...
2
by: Lee | last post by:
Hi, I have an app that loads in assemblies at run-time using the Assembly.LoadFrom command. When I look at the list of assemblies using GetReferencedAssemblies, my loaded ones do not appear in...
6
by: nagar | last post by:
I need to get the list of Autocorrect entries in word. Is there a way to do it without connecting to Word? Is the list saved somewhere? If I need to connect to Word, how can I detect if it's...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.