Results 1 to 7 of 7

Thread: Strange character set in vb6 program

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    160

    Strange character set in vb6 program

    In a program of mine I use labels with Greek words, to describe various things.
    The charecter set I 'm using is Arial.
    Strangely these have been changed to @Malgun Gothic. I don't know how. Maybe because of various installations-reinstallations of the windows system I 've been doing recently.
    It therefore shows hieroglyphics or it shows the correct word but with the letters distorted.

    I can correct this from properties. I change to ms sans serif and then to arial and now the label looks ok.
    But there are many such labels, sometimes cropping up depending on the situation.
    How can I scan the modules for @Malgun Gothic ?

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    4,306

    Re: Strange character set in vb6 program

    These are set in the .FRM files.
    These files are plain text files so you can edit them by hand.
    Just open all the .FRM files and do a global change on all opened files.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    160

    Re: Strange character set in vb6 program

    Quote Originally Posted by Arnoutdv View Post
    These are set in the .FRM files.
    These files are plain text files so you can edit them by hand.
    Just open all the .FRM files and do a global change on all opened files.
    With notepad one by one it shows those things.
    All together ?

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    4,306

    Re: Strange character set in vb6 program

    I use either TextPad or NotePad++ for "search & replace" across multiple documents.

  5. #5
    PowerPoster
    Join Date
    Feb 2017
    Posts
    3,049

    Re: Strange character set in vb6 program

    For multiple files replacement of text I use a program called TexRep.

    For replacing fonts in the IDE you can use and add-in.

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Posts
    22,071

    Re: Strange character set in vb6 program

    Fonts named with a leading @ symbol are used for displaying vertical-language characters (Chinese, etc.). No idea what would change those on you though for Greek.

    Why do some font names begin with an at-sign?


    "Arial" is not a proper UI font. Never was. It should only be used within documents (RichTextBox, printing, etc.). It does not belong in a Label, TextBox, etc.

    "Segoe UI" has been the UI font now since 2006 when it replaced the crusty old "Tahoma" font.

  7. #7
    Addicted Member Episcopal's Avatar
    Join Date
    Mar 2019
    Location
    Brazil
    Posts
    214

    Re: Strange character set in vb6 program

    Quote Originally Posted by Eduardo- View Post
    For replacing fonts in the IDE you can use and add-in.
    Excellent Eduardo addin

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