Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFile() with correct case
Message
From
22/02/2020 13:36:44
 
 
To
22/02/2020 12:43:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01673163
Message ID:
01673166
Views:
89
>Hello, I am looking for a getfile() replacement, to preserve the case of the filename. Not sure if MSComDlg.CommonDialog is the right way to go? Not sure if that is a good idea, or there are better alternatives?

Christian, you may retrieve the preserved case after the user select the file.
LOCAL UpperCased AS String
LOCAL ARRAY PreservedCase (1)

m.UpperCased = GETFILE()
ADIR(PreservedCase, m.UpperCased, "", 1)

? m.PreservedCase
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform