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....
User Profile
Collapse
-
-
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...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)
...Leave a comment:
-
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
No activity results to display
Show More
Leave a comment: