"Cor Ligthert" <no************@planet.nl> schrieb:
what is the fastest method to sort and load
It is not possible to sort a standard textfile at least there has to be
something what can be the sortkey.
Huh?
You can sort the lines alphabetically:
\\\
Dim sr As New StreamReader("C:\WINDOWS\win.ini")
Dim Lines() As String = Split(sr.ReadToEnd, ControlChars.NewLine)
sr.Close()
Array.Sort(Lines)
For Each Line As String In Lines
Debug.WriteLine(Line)
Next Line
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>