User Profile

Collapse

Profile Sidebar

Collapse
vaskar
vaskar
Last Activity: Nov 30 '07, 02:33 AM
Joined: Nov 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mzmishra

    I had try as per you say.
    when I convert MyString to integer Exception arises
    that is "Input String was not in correct format" but the string which I press is string representation of numeric type of unicode that is 1 in US-eng and "१" in Nepali Unicode.

    my line of code is

    Dim myNum as Integer =Integer.parse( myString)

    If you have any idea....
    See more | Go to post

    Leave a comment:


  • Thank You mzmishra
    I will try it....
    See more | Go to post

    Leave a comment:


  • Hi Plater


    I have done as per you say but this also throw exception:
    [code=vbnet]
    Dim a as string=Integer. Parse(me.textbo x1.text)
    [code]
    Above statement throw exception "Input string was not in correct format" Format Exception was unhandled

    if you have any idea to convert string to integer but the string is in numeric type unicode.

    thank you...
    See more | Go to post

    Leave a comment:


  • I want to add two NepaliUnicode number as
    [code=vbnet]
    Dim a as string=me.textb ox1.text
    dim b as string=me.textb ox2.text
    dim c as integer=val(a+b )
    [/code]
    Above statement throw exception "Input string was not in correct format" Format Exception was unhandled

    I have done above coding through this also:
    [code=vbnet]
    Dim a as string=Integer. Parse(me.textbo x1.text)
    ...
    See more | Go to post

    Leave a comment:


  • vaskar
    started a topic VB.NET App: How to convert Unicode String to Integer?
    in .NET

    VB.NET App: How to convert Unicode String to Integer?

    I have got one problem in VB.NET 2005 using unicode
    I want to add two numbers in vb.net 2005 through UNICODE
    I didn't know how to convert UNICODE string to integer.

    I hope you can solve my problem
    See more | Go to post
No activity results to display
Show More
Working...