-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > Automation and VBA > Can Application.FileDialog replace a call to GetSaveFileName (Win API) > Reply To: Can Application.FileDialog replace a call to GetSaveFileName (Win API)
September 1, 2014 at 9:26 am
#9365
Bernhard Kantz
Participant
The FlexPro Application.FileDialog can only be used to select existing files (or folders), i.e. entering a non-existing filename results in an error message.
So it is recommended to use the GetOpenFileName / GetSaveFileName methods in general. If the code should be compatible with both 32 and 64 bit VBA one has to cope with the different signatures and data structures used. You may find some information on this VBA topic under http://www.jkp-ads.com/articles/apideclarations.asp