Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFileNameFromBrowse
Message
From
18/06/2010 19:12:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
GetFileNameFromBrowse
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01469704
Message ID:
01469704
Views:
245
I`m trying to use this Api, but it doesn´t work... Any idea? Thanks.

DECLARE INTEGER GetFileNameFromBrowse IN shell32;
INTEGER hwnd,;
STRING @ pszFilePath,;
LONG cchFilePath,;
STRING pszWorkingDir,;
STRING pszDefExt,;
STRING pszFilters,;
STRING szTitle

cFilename = SPACE(512) + CHR(0)
nBufsize = 0
cPath = "e:\ges24\"
cExt= CHR(0)
cFilter = CHR(0)
cTitle = CHR(0)

=GetFileNameFromBrowse(0, @cFilename, nBufsize,;
cPath, cExt, cFilter, cTitle)
Next
Reply
Map
View

Click here to load this message in the networking platform