[AccessD] Need Open File Dialog Box

Rocky Smolin rockysmolin at bchacc.com
Tue Aug 7 16:48:19 CDT 2018


Dear List:

 

A client has me adding some functions to a legacy app that was written in 32
bit Access. So it has trouble running on the 64 bit Access he has on his
machine.  Switching to 32 bit is not an option. 

 

The adh common open file dialog function which has been working so nicely no
longer works - it uses comdlg32.dll.  

 

Declare PtrSafe Function adh_apiGetOpenFileName Lib "comdlg32.dll" _

Alias "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean

 

I added the PtrSafe and changed the declarations of Long to LongPtr.  But no
cigar.

 

So I'm looking for a replacement open file dialog box function that might
work on both 232 and 64 bit boxes.

 

Any help greatly appreciated by me and my client who HAS to get a report out
this week. L

 

MTIA

 

 

Rocky Smolin

Beach Access Software

760-683-5777

 <http://www.bchacc.com> www.bchacc.com

 <http://www.e-z-mrp.com> www.e-z-mrp.com

Skype: rocky.smolin

 

 



More information about the AccessD mailing list