.NET

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

How to get directory od assembly.

62 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 (62 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 (62 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 (62 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 (62 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.




Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.