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??
Printable View
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??
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.
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