.NET

Reply
Valued Contributor
Matt S
Posts: 64
Registered: ‎05-05-2004
Message 1 of 5 (65 Views)

How to get directory od assembly.

65 Views, 4 Replies
11-07-2006 01:25 PM
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.
Contributor
javenkat
Posts: 17
Registered: ‎10-13-2006
Message 2 of 5 (65 Views)

Re: How to get directory od assembly.

11-07-2006 02:10 PM in reply to: Matt S
System.Reflection.Assembly.GetExecutingAssembly().Location

HTH
Jai
Valued Contributor
Matt S
Posts: 64
Registered: ‎05-05-2004
Message 3 of 5 (65 Views)

Re: How to get directory od assembly.

11-08-2006 04:53 AM in reply to: Matt S
Thank you.
*C Witt
Message 4 of 5 (65 Views)

Re: How to get directory od assembly.

03-18-2009 09:57 AM 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.


*C Witt
Message 5 of 5 (65 Views)

Re: How to get directory od assembly.

03-18-2009 10:02 AM 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.




Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.