A ashwini.chaturvedi Mar 17, 2006 #1 hi frnds, can anyone tell me how to append record/records in a binary file in vb.net thax
Z zacks Mar 17, 2006 #2 The concept of "records" does not exist in a binary file, just bytes. So to add data to the end of the file simply open it for Append. To insert bytes somewhere in the middle is harder and probably would require a temporary file.
The concept of "records" does not exist in a binary file, just bytes. So to add data to the end of the file simply open it for Append. To insert bytes somewhere in the middle is harder and probably would require a temporary file.
C Chris Mar 17, 2006 #3 hi frnds, can anyone tell me how to append record/records in a binary file in vb.net thax Click to expand... Look at the System.IO classes. There is a binary writer class that will help you. Just make sure when you open the stream you set it for append. Chris
hi frnds, can anyone tell me how to append record/records in a binary file in vb.net thax Click to expand... Look at the System.IO classes. There is a binary writer class that will help you. Just make sure when you open the stream you set it for append. Chris