Access 2003 common file open dialog

  • Thread starter Thread starter Matt Gauch
  • Start date Start date
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)
 
Back
Top