Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFile() with correct case
Message
 
 
À
22/02/2020 13:36:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01673163
Message ID:
01673167
Vues:
81
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform