|
-
Dec 2nd, 2008, 09:56 AM
#1
Thread Starter
Lively Member
[RESOLVED] Progressbar Totaly lost Help Plz
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|