hello
I have started with visual basic and i want to know how can i append data into a text file at the end ,also fetching data from text file
You can use this
Public Sub FileOpen( _
ByVal FileNumber As Integer, _
ByVal FileName As String, _
ByVal Mode As OpenMode, _
Optional ByVal Access As OpenAccess = OpenAccess.Default, _
Optional ByVal Share As OpenShare = OpenShare.Default, _
Optional ByVal RecordLength As Integer = -1 _
)
Mode can be : Append, Binary, Input, Output, or Random
So you need to use Append mode.
thanks
ansuman sahu