I never used a progressbar ive tried in old vb6 but never got it, iam loading a text file in a listbox, can some one plz show how it is done heres my code to open and load text in a list box

Many ,Many Thanks


openFileDialog1.Filter = "Text files (*.TXT)|*.TXT"
openFileDialog1.Title = "Select a Cursor File"


If openFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then

Dim lines() As String = File.ReadAllLines(openFileDialog1.FileName)

For Each line As String In lines


RepareList.Items.Add(line)

Next


Thank you
Dem