Any "app.Path" function in dotnet

  • Thread starter Thread starter awan
  • Start date Start date
A

awan

Is there a function in dotnet which is equivalent as "app.Path" in VB 6?

Thanks in advance!
 
I can only make it work in vb executable. How can I make it work in
class/dll project? Thanks again.
 
Assembly.GetExecutingAssembly().Location

or

Assembly.GetExecutingAssembly().Codebase
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Special Folders for the program.exe 3
How do I open file for input 13
dotnet framework 4
App VB6.0 in VB.Net 1
EXE and VBE difference 9
Where is app.path? 6
App.Path 2
app.path in access 97 module 4

Back
Top