Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFile() with correct case
Message
From
22/02/2020 14:30:02
 
 
To
22/02/2020 13:36:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01673163
Message ID:
01673167
Views:
79
>>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
>
That is a good idea. I thought about this at first, but discarded the idea because it would not work for new files to be created. But then for creating a new file the case would get lost anyway.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform