all groups > vb.net > january 2004 >
You're in the

vb.net

group:

How to get path to DLL within a class library


How to get path to DLL within a class library Don
1/20/2004 10:46:55 PM
vb.net:
Is it possible to determine where the DLL itself exists from within a class
library project at runtime, similar to the way Application.StartupPath works
for a windows application project?

- Don

Re: How to get path to DLL within a class library hirf-spam-me-here NO[at]SPAM gmx.at
1/21/2004 12:29:07 AM
* "Don" <unknown@oblivion.com> scripsit:
[quoted text, click to view]

\\\
MsgBox(System.Reflection.Assembly.GetAssembly(Me.GetType()).Location)
///

--
Herfried K. Wagner [MVP]
Re: How to get path to DLL within a class library Mattias Sjögren
1/21/2004 8:58:44 AM

[quoted text, click to view]


GetType(SomeClassOfYours).Assembly.Location



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
AddThis Social Bookmark Button