ok.thanks very very much.it works!!! I have another question: When I build a Nonrectangular Form without Title Bar, how I can resize the form (example: the right - bottom of Windows Media Player)
Yes, you can do this by using the StreamReader Object.
include the System.IO Namespace
then
StreamReader sr=new StreamReader("FilePath");
sr.readline(); // reads first line
sr.readline(); // reads second line
sr.readline(); // reads third line
check out for different read options according to your need.
How to read exact line from text file?
KitTexas
LirarenL
sr.Close();
Paul Lowther
include the System.IO Namespace
then
StreamReader sr=new StreamReader("FilePath");
sr.readline(); // reads first line
sr.readline(); // reads second line
sr.readline(); // reads third line
check out for different read options according to your need.
Steffen Niekler