By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,130 Members | 728 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,130 IT Pros & Developers. It's quick & easy.

updating file locations when running app from another terminal

P: 27

I'm hoping that someone can point me in the right direction on this. My macros that open files run fine on my local terminal, but of course, once I email the application to someone else, those macros aren't going to work because they're referencing file locations on my machine.

What is the best way to deal with this? Is there a way to code the file location in the macro so that it automatically looks for the file in the directory that the app is saved in? Or do I have to put all the files on a shared server and update the macros?

Thank you!

Aug 28 '08 #1
Share this Question
Share on Google+
2 Replies

P: 77
You may use App.path for the path of the files..
Aug 28 '08 #2

Expert Mod 15k+
P: 31,770
I'm not sure about that.

CurrentProject.Path should give you what you need though.
Aug 29 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.