Results 1 to 7 of 7

Thread: Localization of the exe

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2009
    Posts
    13

    Localization of the exe

    Hi.

    I have 2 questions,one not about VB so it will come in the end..

    I made app and since it is very likely it wont be used in English I made local text and put them in resource file...Everything is working fine and displays almost correctly..The problem is that some special characters that are not in ASCII don't show as needed and I would like to make it as good as possible...

    I tried making it use res string for my own language but it still shows other letters...

    I'm using LoadResString(#),so how to load from other table (even thought I think it wont make any difference,but to know) and how to make my program display correct characters...

    I read about Satellite dll's but don't exactly get it,so if some link with examples of whatever solution so i can get it better...but I would like to use just the res file...

    The second thing..Why do I get logged off while reading this forum...In previous thread even while typing..Did it Again just now...

    Thanks for any help,and any help is appreciated.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Localization of the exe

    Quote Originally Posted by BBBane View Post
    The second thing..Why do I get logged off while reading this forum...In previous thread even while typing..Did it Again just now...
    Do you have Cookies enabled in your browser?

    If not, I'm afraid you will need to repeatedly log in (after 15 minutes I think, but I could be wrong!).

    If you do have cookies enabled, click on "log out" above, and then when you log in again tick the "remember me" box, and the problem should not happen again.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2009
    Posts
    13

    Re: Localization of the exe

    Yes I know about that and I have cookies to be erased every time I close Firefox...So it's not that that's problem,and my IP changes,so wouldn't it remember my IP now and if changed someone else would be able to "log in" as me?

    But that's less of a problem,I really want to know about Unicode...

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Localization of the exe

    Your IP address doesn't matter, the cookie (if you ticked "remember me") is what logs you on.

    As you have cookies enabled, I would recommend checking your JavaScript settings, as that is probably used in the process (it is used in many of the other site features).


    I'm afraid I can't help with the code issue.

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2009
    Posts
    13

    Re: Localization of the exe

    No mater than for that...I'll get used to it..Thanks anyway.

    I saw something on msdn but no examples...I read that it could be done by VB script (to change or with API..) I'll copy the text from some other place I stumbled upon..

    Code:
    Just FYI - Get/SetLocale() works in VB scripting because the Windows API is available to VB script without declaring the functions. To use API functions in VB, you would have to declare the functions in a program module:
    
    Declare Function GetLocaleInfo Lib "kernel32" Alias "GetLocaleInfoA" (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String, ByVal cchData As Long) As Long
    
    Declare Function SetLocaleInfo Lib "kernel32" Alias "SetLocaleInfoA" (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String) As Long
    
    
    
    These functions are native to Windows rather than VB and work on a system level.
    If anyone can help me somehow it would be great..(It has kernel in it so I'm to much of a beginner to dare to try something with it...)
    It isn't the problem for me if it can be done with VBS,I would call for it from app just to be able to make system recognize the letters and than bring it back to normal..

    Thanks.

  6. #6
    Lively Member
    Join Date
    Jan 2009
    Posts
    126

    Re: Localization of the exe



    hope this helps
    he is a good friend that speaks well of us behind our backs

  7. #7

    Thread Starter
    New Member
    Join Date
    Mar 2009
    Posts
    13

    Thanks

    Thank You mr smither.Well this picture didn't help,but it gave me something to go with,so I found the codes for the characters that I need (if anyone has similar problem... go here http://www.unicode.org/)

    I just have one question now...Do I put
    Code:
    some text here 2C32 (code for character) text text
    ..Cause it seams to me there is more to do..Is there some special way of doing this?Thanks.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width