.NET

Reply
Valued Contributor
64 Posts
0 Kudos
Registered: ‎05-05-2004
Post 1 of 5

How to get directory od assembly.

66 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
17 Posts
0 Kudos
Registered: ‎10-13-2006
Post 2 of 5

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
64 Posts
0 Kudos
Registered: ‎05-05-2004
Post 3 of 5

Re: How to get directory od assembly.

11-08-2006 04:53 AM in reply to: Matt S
Thank you.

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.


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