Hi. I'm developing a app that converts units
(like cm to in.
) with eVB, but I'm having problems with combobox.
I want users to select to select units in the combobox, and that makes it change the variable of the multiplier according to the selected combobox's value.
Something that goes like:
If combobox1value = "cm" and combobox2value = "in" Then
multiplier = 2.54
End If
The problem is that I can't get to have the combobox value into a variable.
So far, I've written a little more than
Private Sub Form_Load
(
)
Combo1.AddItem "cm"
Combo1.AddItem "m"
Combo1.AddItem "km"
Combo1.AddItem "sq. cm"
Combo1.AddItem "sq. m"
Combo1.AddItem "hectares"
Combo1.AddItem "cubic m"
Combo1.AddItem "L"
Combo1.AddItem "Newton m"
End Sub