Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

App.Path not working

Status
Not open for further replies.

lasitha

Programmer
Jun 7, 2003
38
LK
Hi All,

Is it possible to application path through vba code.
App.Path

Lasitha.
 
Hi

Try

? application.CurrentDb.Name
S:\NCSC\Headquarters\ICT\Team\KenReay\CurrentRelease\ComplaintsFE.mdb


Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Dear KenReay,

ThankX a Lot, It's worked..

x = Replace(Application.CurrentDb.Name,"ComplaintsFE.mdb","")

Thanks again...
Lasitha
 
Another way :
Application.CodeProject.Path
Application.CurrentProject.Path

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top