Access 2003 common file open dialog

M

Matt Gauch

For many years I have been using the function declaration below (from
Getz/Litwin/et al's Access Developer's Handbook) to use the Windows common
file open dialog box to get a file name. However, I just ported my code
utilities library (which contains this code for the common file dialogs) to
Access 2003 for the first time, and now it won't compile under Access 2003!
Can someone tell me how this declaration needs to change to work with Access
2003?

Declare Function adh_accOfficeGetFileName Lib "msaccess.exe" _ Alias "#56"
(gfni As adh_accOfficeGetFileNameInfo, ByVal fOpen As Integer) As Long


TIA,

Matt Gauch
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top