
File Open/Save dialog in Access 2000 running on Win98, Win2K and WinXP
The API call in this link works fine with Win9x, 2000, and XP:
http://www.mvps.org/access/api/api0001.htm
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to the newsgroup. (Email address has spurious "_SpamTrap")
Quote:
> I have an Access 2000 application that uses the
> GetOpenFileName dialog API. When running on a Win98
> machine, the application functions correctly, and the
> dialog box is displayed. When running on Win2K or WinXP,
> the dialog box is not displayed at all, and no errors
> occur.
> From what research I've done, I know that the OPENFILENAME
> type definition needs to be modified to include three new
> fields added in Win2K/WinXP, and that the StructSize field
> must be set differently depending on which opperating
> system the application is current running on. I've made
> these two changes, but haven't had any luck getting the
> dialog box to be displayed.
> Can anyone suggest where I might be going wrong, or what
> I've missed out?
> Many thanks in advance.