I can't figure this out. It tells me "Man" and "Vrouw" are not declared but those are the values from the ComboBox1. I have searched the internet looking for the answer but I can't find it anywhere. Sure there should be more easy way's for the entire thing but I am still in the beginningstage of learning. So if possible build on from this and hopefully some one is able of telling me what is wrong.
Public Class Form1 Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged End Sub Private Sub Button1_Click(ByV