Arabic language
-
:confused: In a program or in windows?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
You can set the default settings of windows to Arabic from regional settings... This will make whole of ur system in Arabic even ur start button will com on right and time will come on left... also all the menus will start from right and the close and full screen button will be on left... if u want to use Arabic setting in ur application and ur application is a Vb / VB.net application u have to first use some Arabic fonts and change the right to left property to true for all controls... Note: At times Arabic is not by default available on the system u have to put the windows CD again and add Arabic settings.. Good Luck
-
:confused: In a program or in windows?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
You can set the default settings of windows to Arabic from regional settings... This will make whole of ur system in Arabic even ur start button will com on right and time will come on left... also all the menus will start from right and the close and full screen button will be on left... if u want to use Arabic setting in ur application and ur application is a Vb / VB.net application u have to first use some Arabic fonts and change the right to left property to true for all controls... Note: At times Arabic is not by default available on the system u have to put the windows CD again and add Arabic settings.. Good Luck
Hello ahmed! here is a little snippet I included in my DLL and I run this method in every TextBox the user enters/hovers/focuses whatever. just change the IL to the appropriate language, in some times (like in am e-mail content TextBox you would use the english one:
#Region "SetLanguage" Public Enum e_LanguageStr As Byte Heb = 1 En = 2 End Enum ''' <summary> ''' Sets the keyboard language ''' </summary> ''' <param name="Language">a string value to determine which language to set, use "Heb" for Hebrew and "En" for English</param> ''' <remarks></remarks> Sub SetLanguage(ByVal Language As e_LanguageStr) If Language = e_LanguageStr.Heb Then : **InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(New CultureInfo("he-IL", True))** Else : **InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(New CultureInfo("en-US", True))** End If End Sub #End Region
Shimi
-
Hello ahmed! here is a little snippet I included in my DLL and I run this method in every TextBox the user enters/hovers/focuses whatever. just change the IL to the appropriate language, in some times (like in am e-mail content TextBox you would use the english one:
#Region "SetLanguage" Public Enum e_LanguageStr As Byte Heb = 1 En = 2 End Enum ''' <summary> ''' Sets the keyboard language ''' </summary> ''' <param name="Language">a string value to determine which language to set, use "Heb" for Hebrew and "En" for English</param> ''' <remarks></remarks> Sub SetLanguage(ByVal Language As e_LanguageStr) If Language = e_LanguageStr.Heb Then : **InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(New CultureInfo("he-IL", True))** Else : **InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(New CultureInfo("en-US", True))** End If End Sub #End Region
Shimi
oops sorry, include this code in your namespace: Imports System.Globalization
Shimi
-
oops sorry, include this code in your namespace: Imports System.Globalization
Shimi