USING RADIO BUTTON IN FORMS
FORM 1: CONTAINS 1COMMAND BUTTON & 4 RADIO BUTTON
I WANT TO CHECK WHICH RADIO BUTTON IS CHECKED. USING COMMAND BUTTON TRIGGER
FOR EG
Private Sub btn_next_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_next.Click
If opt_Hex Then
Dim hex As New frm_hex()
Me.Hide()
hex.Show()
End If
If opt_Bin Then
Dim bin As New frm_bin()
Me.Hide()
bin.Show()
End If
If opt_dec Then
Dim dec As New frm_dec()
Me.Hide()
dec.Show()
End If
If opt_oct Then
Dim oct As New frm_oct()
Me.Hide()
oct.Show()
End If
End Sub
ABOVE I CHECK THE OPT_DEC IS TRUE OR FALSE AN OK CODE
BUT COMPILERS MAKES AN ERROR PLEASE HELP ME