In v4.0 and 5.0 of vb there is an App object. Use:
App.Path
property to determine where your program is running from. Works quite
nicely.
Cheers,
--George
Quote:
>I'm trying to put altogether the database and the app in the same folder
>when i distribute it. The problem is that the mdb-path is fixed by me in
>the code (since i've tried with CurDir without success) and the app-path
>is fixed by the user. How can I deal with this?
>Show me the light, please....
>Thanks!