Full blown VB6 has a global object called App which I can use to find the
location in the file system of the exe I am running (App.Path).
Is there a ready equivalent in VBA? Specifically, I am looking to distribute
an application in the form of an Access 2000 mdb file ON A CD-ROM with forms
for user interaction, together with some documents. I need to display the
documents, calling them by path and name, but I cannot work out how to
reference programmaticall y from VB within Access "This CD-ROM drive, on
which this mdb is located, and in the Documents folder thereof".
Short of a Win API call to find the drive letter of the first CD-ROM drive,
and hoping that the eventual user only has one CD-ROM drive, any ideas?
Regards
--Jim.
location in the file system of the exe I am running (App.Path).
Is there a ready equivalent in VBA? Specifically, I am looking to distribute
an application in the form of an Access 2000 mdb file ON A CD-ROM with forms
for user interaction, together with some documents. I need to display the
documents, calling them by path and name, but I cannot work out how to
reference programmaticall y from VB within Access "This CD-ROM drive, on
which this mdb is located, and in the Documents folder thereof".
Short of a Win API call to find the drive letter of the first CD-ROM drive,
and hoping that the eventual user only has one CD-ROM drive, any ideas?
Regards
--Jim.
Comment