Ive managed to find how to open the file and copy all of it to a label or text box.
Have you any idea how i can search the file and only copy the data preceded by the "#" statement, and procedes the next?
Thanx for the help so far.
Wouldnt of got any were without that.
scytheuk
<pre>Open the file
Do
Line Input from file
If in store mode Then
If its a #number Then
Exit Do
Else
Store this line
End If
Else
If its a #number then
enter store mode
End If
End If
Loop
Close the file</pre>
__________________ A wise one man once said "what you talking about dog breath"
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe