App.Path

C

Chip

How do you find the directory you are in such as the old way of "App.Path"
form VB6 using VB.Net?
 
W

William Ryan

Environment.CurrentDirectory() ...
Process.GetCurrentProcess.MainModule.ModuleName
ProcessName = Path.GetFileNameWithoutExtension(ModuleName)


HTH,



Bill
 
H

Herfried K. Wagner [MVP]

* "Chip said:
How do you find the directory you are in such as the old way of "App.Path"
form VB6 using VB.Net?

See my reply in the other group. Please don't multipost.
 

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

Top