Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find folder name where an application (*.exe) is launched

Status
Not open for further replies.

rgrayclamps

Mechanical
Aug 6, 2004
376
If I have an VB application (*.exe file), how can I find the location (path) in the program code where the application is launched? For example, if I have an excutable file (test.exe) in C:\Temp folder and I launch this application by double-clicking it in explorer, does the codes in this VB program have access to information (C:\Temp) where this application is launched?

Thanks,

Alex
 
Replies continue below

Recommended for you

Try App.Path.

Evan T. Basalik, MCSD
--------------------------------
It's all about prioritization...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor