use input from combo box as integer in code (vb.net)
right now my code reads
Dim divisor as Integer = "10"
i have created a form with a drop-down combo box that allows a user to
choose the divisor instead of it being hardwired into the code. the name
of the combo box is 'divisor1'
how do i refer to the input in divisor1 to be read as the divisor? i.e.
Dim divisor as Integer = divisor1 'throws an error
TIA
No comments:
Post a Comment