Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Windows Openfile dialog box
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00742941
Message ID:
00742963
Views:
17
There are at least two API functions for this task: GetOpenFileName and GetFileNameFromBrowse.

The latter is a wrapper around the GetOpenFileName. Its interface is more usable in FoxPro, you don't need to allocate memory. Though you need to convert strings between ANSI and Unicode in both directions. Use WideCharToMultiByte and MultiByteToWideChar for the conversion.

Check function declarations at
http://www.news2news.com/vfp/?function=553
http://www.news2news.com/vfp/?function=556
Previous
Reply
Map
View

Click here to load this message in the networking platform