Consulting

Results 1 to 5 of 5

Thread: Labels wont display Hebrew characters

  1. #1
    VBAX Mentor Movian's Avatar
    Joined
    Aug 2008
    Location
    NC, USA
    Posts
    399

    Labels wont display Hebrew characters

    We are trying to setup our system to be multi lingual.

    We have had no problems with other languages based on our alphabet however I am having a problem with languages with non roman alphabets.

    (Hebrew specifically to start) - We have installed the additional fonts and language packs, and have no trouble displaying the hebrew text in text boxes etc etc.

    But when we try and set a label in access to Hebrew text in replaces all the characters with question marks ???

    Any thoughts?
    "From the ashes of disaster grow the roses of success" - Chitty chitty bang bang

    "I fear not the man who has 10,000 kicks practiced once. I fear the man who has 1 kick practiced 10,000 times" - Bruce Lee

  2. #2
    VBAX Mentor Movian's Avatar
    Joined
    Aug 2008
    Location
    NC, USA
    Posts
    399
    After a few more hours investigation it looks like the problem is not with the labels but rather accepting the text through an input box seems to be causing the problem... does the input box only accept certain encoding formats ?
    "From the ashes of disaster grow the roses of success" - Chitty chitty bang bang

    "I fear not the man who has 10,000 kicks practiced once. I fear the man who has 1 kick practiced 10,000 times" - Bruce Lee

  3. #3

  4. #4
    VBAX Mentor Movian's Avatar
    Joined
    Aug 2008
    Location
    NC, USA
    Posts
    399
    Some awesome links!

    Thanks for the references, this is the first time i have done a set of coding changes to get a system ready for multiple languages and will be referencing those docs heavily!!
    Will see if I can get the System.Globalization to work in VBA

    Havn't solved the input box issue just yet but the Double character information looks like it may be the key. Once I have the exact solution I shall put my fix into the threat and mark solved.
    "From the ashes of disaster grow the roses of success" - Chitty chitty bang bang

    "I fear not the man who has 10,000 kicks practiced once. I fear the man who has 1 kick practiced 10,000 times" - Bruce Lee

  5. #5
    VBAX Mentor Movian's Avatar
    Joined
    Aug 2008
    Location
    NC, USA
    Posts
    399
    Buffering the string that gets passes to the function that stores the label value instead of sending it directly through using the inputbox seems to have resolved the issue

    OLD Code
    EditLabel(screen.activecontrol.name, inputbox("Please enter your new value"))
    NEW Working Code
    dim tempText as string
    temptext = inputbotx("Please enter your new value")
    editlable (Screen.activecontrol.name, temptext)
    "From the ashes of disaster grow the roses of success" - Chitty chitty bang bang

    "I fear not the man who has 10,000 kicks practiced once. I fear the man who has 1 kick practiced 10,000 times" - Bruce Lee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •