.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get directory od assembly.

4 REPLIES 4
Reply
Message 1 of 5
Matt S
230 Views, 4 Replies

How to get directory od assembly.

I would like to retrieve the location of my .NET dll, but I can't seem to figure out how to do that. Al the methods in the Directory namespace don't seem to give me what I want.

Any ideas?

Thanks in advance.
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Matt S

System.Reflection.Assembly.GetExecutingAssembly().Location

HTH
Jai
Message 3 of 5
Matt S
in reply to: Matt S

Thank you.
Message 4 of 5
Anonymous
in reply to: Matt S


How would I go about getting the Path location of acad.exe with
vb.net?  (so i don't have to hard code it)



Work: VISTA
Ultimate/Windows 7 x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs
Ram, GeForce 6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150





Matt S wrote:

Thank you.


Message 5 of 5
Anonymous
in reply to: Matt S


ignore that..



Work: VISTA
Ultimate/Windows 7 x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs
Ram, GeForce 6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150





C Witt wrote:

How would I go about getting the Path
location of acad.exe with
vb.net?  (so i don't have to hard code it)



Work: VISTA
Ultimate/Windows 7 x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs
Ram, GeForce 6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64
Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150





Matt S wrote:

Thank you.




Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost