'How To Use App.Path?
Q. I am writing a program to be distributed to lots of other computers. However, the path where the program will reside isn`t always the same for each computer. (Surprise!) I have read about the App.Path property, but I don`t know how to use it...
A. App.Path refers to the path of your executable (.EXE) file. So if you wanted to save a file to the directory where the EXE is, you would code something like this:
Open App.Path & "\" & FILENAME for Output as #1 Print #1, SomeVariable ... Close #1
Thanks to: Rich, Dan.
Downloads In IE right-click and select 'Save Target As...' or in Netscape
right-click and select 'Save Link As...' View Plain Text
Not Available
Not Available
|