|
-
May 30th, 2000, 01:58 PM
#1
Thread Starter
New Member
I'm doing a simple program in which i save my configuration in a plain text file. I don't have a problem with the input or output, however, since I want to be able to package my program and send it around, I need to be able to allow my program to find out where it is installed to. This is so that I don't have to specify a path to my config file, rather, I want my program to find out where it is installed and put that file in that location. Does anyone know how to do that?
Mike Dryden
-
May 30th, 2000, 02:24 PM
#2
Member
hi,
I think u can use APP.PATH
it will give u the full path of where ur program is running.
hope this is clear.
anydoubts let me know.
kandan.
-
May 30th, 2000, 08:44 PM
#3
Addicted Member
I use APP.PATH
I always use APP.PATH and it works great
Remember Programmers don't sleep 
-
May 31st, 2000, 12:17 AM
#4
Thread Starter
New Member
Worked prefectly. Thanks alot guys.
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|