Dim import As New OpenFileDialog
import.Filter = "Text File(&.txt) |. txt"
import.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.Desktop
If import.ShowDialog <> Windows.Forms.DialogResult.OK Then Exit Sub
Dim myfile As String = import.FileName
Dim reader As New System.IO.StreamReader(myfile)
ComboBox1.Text = reader.ReadToEnd
mam plik txt
1
2
3
do combo boxa wrzuca mi 123
a chce by wrzucalo
1
2
3
co jest nie tak ?