C
Cory Albrecht
Hello all,
I took a Visual Studio2005 solution I was working on that used .NET CF
2.0 and converted to a VS2K8 solution using .NET CF 3.5.
On one form I had a NumericUpDown control that had a maximum value of
86400 and it ran just peachy keen.
But with .NET CF 3.5, the this bit from the form's *.Designer.cs file
this.numUpdateDisplayTime.Maximum = new decimal(new int[] {
86400,
0,
0,
0});
throws an ArgumentException.
So I changed the number downwards a few times until I figured out that
the highest number that the control could handle for it's Maximum
property is 32767.
Hello? WTF? It can only handle a 16-bit signed integer? Even though a
number that wouldn't even fit into a 16-but *unsigned* integer was fine
in v2.0?
Anybody else have this problem and know how to get around it?
I took a Visual Studio2005 solution I was working on that used .NET CF
2.0 and converted to a VS2K8 solution using .NET CF 3.5.
On one form I had a NumericUpDown control that had a maximum value of
86400 and it ran just peachy keen.
But with .NET CF 3.5, the this bit from the form's *.Designer.cs file
this.numUpdateDisplayTime.Maximum = new decimal(new int[] {
86400,
0,
0,
0});
throws an ArgumentException.
So I changed the number downwards a few times until I figured out that
the highest number that the control could handle for it's Maximum
property is 32767.
Hello? WTF? It can only handle a 16-bit signed integer? Even though a
number that wouldn't even fit into a 16-but *unsigned* integer was fine
in v2.0?
Anybody else have this problem and know how to get around it?