|
-
February 15th, 2000, 01:52 PM
#1
directory path
I want to be able to find out the path from which my program is running. This way I can easily write a registry entry to make it run at startup, where ever it's installed. And no I don't want to have an installation program. Anybody help??
-
February 15th, 2000, 01:56 PM
#2
Re: directory path
very simple, just use App.path
One drawback however, it specifies a directory, not ending with a \ unless it is a root.
eg
c:\temp <-- not trailing \
c:\ <-- trailing \ !!!
Tom Cannaerts
[email protected]
The best way to escape a problem, is to solve it.
-
February 15th, 2000, 03:28 PM
#3
Re: directory path
i am not sure if you no how to write to the regestry, go to this url if you want to no how to write to the regestry:
http://www.vbcode.com/asp/showsn.asp?theID=1322
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
|