Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

NumericUpDown can only be 100 max

The numericupdowns can only go upto 100, how can i increase it?
Change the .Maximum value to whatever you desire?

Either in the code, or in the properties window.
okay can you help what is wrong with this
Code
Dim value1 As Integer
  Dim value2 As Integer
  value1 = NumericUpDown1.Value
  value2 = NumericUpDown2.Value
  Label3.Text = value1 + " + " + value2 + " = " + value1 + value2
@ShaneKCarter

Code
Label1.Text = value1.ToString & " + " & value2.ToString & " = " & (value1 + value2).ToString
(May 5, 2013 03:06 AM)ShaneKCarter Wrote:  okay can you help what is wrong with this
Code
Dim value1 As Integer
  Dim value2 As Integer
  value1 = NumericUpDown1.Value
  value2 = NumericUpDown2.Value
  Label3.Text = value1 + " + " + value2 + " = " + value1 + value2

I wouldn't have a clue what you're trying to do there at all. As you dont need to store the value in an Integer.

This explains the control very well though.

http://www.dotnetheaven.com/article/nume...-in-vb.net


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by SharoKurdiNov 27, 2016 08:47 AM 17 379 Nov 27, 2016 08:47 AM
Last Post: Ninja
[Java] by Matt AHFeb 29, 2016 05:52 PM 5 248 Feb 29, 2016 05:52 PM
Last Post: kamika$e
[.NET] by XecuterDec 15, 2014 05:32 PM 3 87 Dec 15, 2014 05:32 PM
Last Post: IAmNotHere