[Hilfe] *.txt zu listbox (vb2010)

03/31/2012 13:29 ERsTiNGo#1
Hi brauche hilfe...

Ich bin am verzwifeln finde einfach nichts in google....

Wi kann ich von meinem FTP eine Textdatei zu einer listbox converten (jedes item = eine zeile)

hilfe bitte schnell

Edit:

Solved:



Code:
Dim Rich as New RichTextBox

Rich.Text = WC.DownloadString("ftp://ftp.de/liste.txt")

        For i As Integer = 0 To Rich.Lines.Count - 1
            ListBox1.Items.Add(Rich.Lines(i))
        Next
Please move falsches Forum.....
03/31/2012 13:38 jacky919#2
[Only registered and activated users can see links. Click Here To Register...]
03/31/2012 13:40 ERsTiNGo#3
Quote:
Originally Posted by jacky919 View Post
[Only registered and activated users can see links. Click Here To Register...]
Please Move & Solved
03/31/2012 14:18 Kraizy​#4
Deine versteckte RTB ist ziemlich unsinning..
03/31/2012 14:48 ERsTiNGo#5
Quote:
Originally Posted by xKraizy View Post
Deine versteckte RTB ist ziemlich unsinning..
habe mich verbessert :D