Assembly.GetExecutingAssembly().Location
or
Assembly.GetExecutingAssembly().Codebase
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/
"awan" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I can only make it work in vb executable. How can I make it work in
> class/dll project? Thanks again.
>
> "William Ryan eMVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > MessageBox.Show(Application.ExecutablePath)
> >
> > "awan" <(E-Mail Removed)> wrote in message
> > news:#(E-Mail Removed)...
> > > Is there a function in dotnet which is equivalent as "app.Path" in VB
6?
> > >
> > > Thanks in advance!
> > >
> > >
> >
> >
>
>