how we read special characters like "ö, ä" from vb

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • veer
    New Member
    • Jul 2007
    • 198

    #1

    how we read special characters like "ö, ä" from vb

    Hi
    i want to make a program on searching which works fine but when the special characters came like "ö, ä it is not seaching these characters

    please give some idea

    reGArds
    varinder
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Have you tried working around acsii values of the characteres ?

    Comment

    • pentahari
      New Member
      • Dec 2007
      • 60

      #3
      Originally posted by veer
      Hi
      i want to make a program on searching which works fine but when the special characters came like "ö, ä it is not seaching these characters

      please give some idea

      reGArds
      varinder
      debasisdas answer is correct.

      Because all characters have ASCII

      Comment

      • Dököll
        Recognized Expert Top Contributor
        • Nov 2006
        • 2379

        #4
        Originally posted by veer
        Hi
        i want to make a program on searching which works fine but when the special characters came like "ö, ä it is not seaching these characters

        please give some idea

        reGArds
        varinder
        I went looking to see if anything could be found on Character Map, in Windows... could not find anything.

        I was thinking perhaps if we could tell VB to search Character Map and compare ALL characters against certain fields in our application, VB would try to find a match, say ö in this case in Text1.Text textbox, search would be valid since ö is likely to be found in the Character Map in Windows. Someone has probably already tried this, sounds doable!

        Other than that I got nothing, but good luck with the project; do let us know how you made out, sounds fetching... might be helpful to others passing through;-)

        Dököll
        Last edited by Dököll; May 20 '08, 02:42 AM. Reason: text...

        Comment

        Working...