"macken09@gmail.com" <macken09@gmail.com> wrote in message
<1156920782.811768.34430@e3g2000cwe.googlegroups.com>:
> im using vb6 and MSaccess 2003
> Public Sub OpenDBConnection()
[quoted text clipped - 14 lines]
> End Sub
> is there something wrong with my references
If you're using VB6, then you probably wont find currentproject.path.
Currentproject is a property of the Access application object, and
allows access to the CurrentProject object with related objects,
properties and methods within Access, and, as far as I know, is
available only from Access VBA code (or through automation).
I think you will need other means of retrieving the path, where I
think an NG dedicated to VB6 might be a better place to look. Is
App.Path the equivalent in VB6?

Signature
Roy-Vidar