Question: how to check if a checkbox is checked in vb?
Answer: For Each ctrl As Control In Me. Controls. If TypeOf (ctrl) Is GroupBox Then. If TypeOf (ctrl) Is CheckBox Then. If CheckState. Unchecked Then. MsgBox("No Repo selected.", MsgBoxStyle. OkOnly, "Error!") Else. frmClipBoard. Show() End If.