checkbox - Checkboxes from "0" to "1" in a string -
i have program when checkboxes checked, code behind changes 0 1. code:
dim string = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" if checkbox1.checked = true a(0) = "1" = left(a, 1) + right(a, 89) msgbox(a) else msgbox("wrong!") end if
apparently a(0)="1"
wrong.
this code 1 checkbox, if have 90 checkboxes, how code it?
Comments
Post a Comment