Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PutFile()
Message
From
24/08/2011 06:46:39
Antonio Lopes (Online)
BookMARC
Coimbra, Portugal
 
 
To
24/08/2011 04:10:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01521675
Message ID:
01521683
Views:
95
This message has been marked as the solution to the initial question of the thread.
>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
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform