Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Arabic language

Arabic language

Scheduled Pinned Locked Moved Visual Basic
question
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hassanasp
    wrote on last edited by
    #1

    How can I change my language keyboard into Arabic only

    Ahmed hassan

    P N 2 Replies Last reply
    0
    • H hassanasp

      How can I change my language keyboard into Arabic only

      Ahmed hassan

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      :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

      H 1 Reply Last reply
      0
      • H hassanasp

        How can I change my language keyboard into Arabic only

        Ahmed hassan

        N Offline
        N Offline
        nishkarsh_k
        wrote on last edited by
        #3

        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

        S 1 Reply Last reply
        0
        • P Paul Conrad

          :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

          H Offline
          H Offline
          hassanasp
          wrote on last edited by
          #4

          In a program in textbox

          Ahmed hassan

          1 Reply Last reply
          0
          • N nishkarsh_k

            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

            S Offline
            S Offline
            Shimmy Weitzhandler
            wrote on last edited by
            #5

            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

            S 1 Reply Last reply
            0
            • S Shimmy Weitzhandler

              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

              S Offline
              S Offline
              Shimmy Weitzhandler
              wrote on last edited by
              #6

              oops sorry, include this code in your namespace: Imports System.Globalization

              Shimi

              H 1 Reply Last reply
              0
              • S Shimmy Weitzhandler

                oops sorry, include this code in your namespace: Imports System.Globalization

                Shimi

                H Offline
                H Offline
                hassanasp
                wrote on last edited by
                #7

                thank you for this help

                Ahmed hassan

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups