Sorry, I don't have the experience with VB4, but in VB6 I used:
Dim db as Database
dim strPath as String
Set db = CurrentDb()
strPath = db.Name
The complete path and app name are then stored in the variable strPath. Hope this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.