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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get application Path on opening app?

Status
Not open for further replies.

neemi

Programmer
May 14, 2002
519
GB
What I am trying to do is that when a user opens up a access system I want to check the path of where the system is stored ie. the opened up application, so I can store the path name of this in a table.

I want to do this for a new system I have written as I am not sure where the client is going to store the access app and open it from.

If the table field [SystemPathLocation] is null then I know this would be the first time it is used and then the path is stored and an error log can then be created in the same location programmatically using the stored location.

Does anyone know how I can get the path of the application when the system is opended please?

help appreciated.

Neemi
 
Something along the lines of Application.Currentproject.path should do it I think.
 
Duh!!! Of course!!!
thanks for the response! I have used that all the time... Think I've had a bit of a memory lapse!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top