You can use the .Location property of the Assembly object, which should be accessable via the Me keyword (where Me refers to the application as a whole)
Note: This specifies the location of the assembly that contained the manifest. If you are using multi-file assemblies (most people don't) then this value may not be correct.
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first