|
-
November 9th, 1999, 09:45 AM
#1
Choosing language for runing VB-code
Is it possible to check the Windows95 language propriety (that is to set in the configuration panel under language or somethig like that. Sorry but I'm working with a german version of Windows95) via Visual Basic code and
then to set the the Visual Basic character string language at run time depending on the value of this propriety.
I'm using VB 5.0 for applications.
-
November 9th, 1999, 09:58 AM
#2
Re: Choosing language for runing VB-code
you can use the GetUserDefaultLCID API to get the current locale ID of the current user.
I do not have access to VB 5, but in VB 6 there is a ResourceEDitor addin that allows you to specify string in different language versions.
By using the LoadResString VB function VB will automatically load the string in the language that corresponds to the locale settings in control panel.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|