Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim intValue As Integer = 0
- If CheckBox0.Checked Then intValue += 1
- If CheckBox1.Checked Then intValue += 2
- If CheckBox2.Checked Then intValue += 4
- If CheckBox3.Checked Then intValue += 8
- Dim strHex As String = intValue.ToString("x")
Add Comment
Please, Sign In to add comment