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. Disallow MBCS sets in VB text box

Disallow MBCS sets in VB text box

Scheduled Pinned Locked Moved Visual Basic
helpquestion
3 Posts 3 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.
  • A Offline
    A Offline
    Aky
    wrote on last edited by
    #1

    Hi How do i disallow a user from entering MBCS characters (Japanese Kanji) from entering in text box. He/she should only be allowed to enter SBCS (KataKana) in the text box. Help!..

    A A 2 Replies Last reply
    0
    • A Aky

      Hi How do i disallow a user from entering MBCS characters (Japanese Kanji) from entering in text box. He/she should only be allowed to enter SBCS (KataKana) in the text box. Help!..

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      csddcf

      1 Reply Last reply
      0
      • A Aky

        Hi How do i disallow a user from entering MBCS characters (Japanese Kanji) from entering in text box. He/she should only be allowed to enter SBCS (KataKana) in the text box. Help!..

        A Offline
        A Offline
        Amphibian
        wrote on last edited by
        #3

        USe StrCon() function ofVB. USe it to convert to any type. i.e VBWide,VBNarrow,VBKatakana,VBHiraGana. etc.. USeful-function,if u get it right. else VB stores strings in UNICODE format which takes 2bytes / character. So difficult to recognise single/multibyte otherwise. CIAO

        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