J
JustMe
Hello ...
I have a CF application that I'm trying to run on the full framework.
For the most part, everything works as expected. However there is one
piece of code that acts very much differently:
dim xstrng as string
xstrng = "12345678901"
messagebox.show(xstrng.Substring(11,1))
On the compact framework, the above code displays an empty string.
On the full framework, the above code errors out with:
Run-time exception thrown : System.ArgumentOutOfRangeException - Index
and length must refer to a location within the string.
Why is this? Is there some setting in the full framework that will
make the same code run as it does in the CF?
Your help is greatly appreciated,
--Terry
I have a CF application that I'm trying to run on the full framework.
For the most part, everything works as expected. However there is one
piece of code that acts very much differently:
dim xstrng as string
xstrng = "12345678901"
messagebox.show(xstrng.Substring(11,1))
On the compact framework, the above code displays an empty string.
On the full framework, the above code errors out with:
Run-time exception thrown : System.ArgumentOutOfRangeException - Index
and length must refer to a location within the string.
Why is this? Is there some setting in the full framework that will
make the same code run as it does in the CF?
Your help is greatly appreciated,
--Terry