c'č un errore sul controllo della textbox..

codice:
If cmbSesso.Text = "M" Or cmbSesso.Text = "F" And not (txtComuneNascita.Text = "") Then
oppure

codice:
If cmbSesso.Text = "M" Or cmbSesso.Text = "F" And txtComuneNascita.Text <>  "" Then

magari utilizza anche la funzione TRIM