Hi Gihan, You can do this using the x++ class called AsciiIO, like this:
AsciiIo file = new AsciiIo([fileName], [mode]), where: *fileName* - The name of the file to open *mode* - The mode to create the instance of AsciiIo class To the *mode *param, you can choose the following options: - A – Append (implies W) - B – Binary - R – Read - T – Translate (text) - W – Write An example: http://msdn.microsoft.com/en-us/library/aa863136.aspx About AsciiIO class: http://msdn.microsoft.com/en-us/library/aa867230.aspx Regards On Wed, Oct 7, 2009 at 1:30 AM, gihan_ax <gihan...@yahoo.com> wrote: > > > Dear All, > > I am having a text file called Data.txt. It contains some data. > I want to append new data into that same text file without missing previous > data. > Can any one please help me on this matter? > > Thank you, > Wbr, > Gihan > > > -- Santos, Edvandro System Analyst -- fale...@edvandro.com http://www.edvandro.com -- http://www.axfordummies.com