My combobox is filled with file names (without extension) of all the .txt files in folder "c:/files".

When I select one file name from that combobox, how can I show that files full path in textbox or label?

Sorry for my bad english...


Private Sub comboBox1_SelectedIndexChanged(sender As Object, e As EventArgs)
	Dim fileName As String = comboBox1.SelectedItem.ToString()
	textBox1.Text = [String].Format("{0}{1}{2}", "C:\files", fileName, ".txt")
End Sub