Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PutFile()
Message
From
30/08/2011 12:41:49
 
 
To
24/08/2011 06:46:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01521675
Message ID:
01522293
Views:
88
>>Hi All,
>>
>>I am using PUTFILE() to allow a user to choose a file name t save something to. Is there anyway to change the language of this dialog to reflect the users local Windows language settings? I don't mean the language of the parameters I can pass to PUTFILE() but rather the title of the dialog which reads "Save As", the "Save In" underneath the title, and the button captions for example.
>
>Jos, you may try to use a CommonDialog Save dialog, which I believe is automatically localized.
>
>LOCAL loDlg as MSComDlg.CommonDialog
>LOCAL lcFileName AS String
>
>m.loDlg = CREATEOBJECT("MSComDlg.CommonDialog")
>
>m.loDlg.MaxFileSize = 250
>m.loDlg.ShowSave()
>
>m.lcFileName = m.loDlg.FileName
>
Thank you, I have implemented this solution.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform