Dear My friends:
I have one data file that each record consist of 3 sections. each section of each record paste to 3 richtextboxes and these textboxes.text are read and then write to a data file in the format of binary and forms one record.
I want to open a file and without reading all records, find a specefic record for example no. 3 without reading records 1 to 2. Is there any command for searching a specific string?
record1:
1. some string
2. some image file that must write as bytes
3. some sound attached to this record
record2:
1. some string
2. some image file that must write as bytes
3. some sound attached to this record
record3:
1. some string
2. some image file that must write as bytes
3. some sound attached to this record
.
.
.
so firstly, the lenght of each section of a record is not specific.
secondly, if I close the file, and I want to add some other records to the current file, I must find the no. of last record and add additional records to the file. So is it a straight forward procedure for doing this?
thirdly, how should I modify one record after I create that record?
and finally, if I want to encrypt this file is it possible for others to extract it's content?
Sincerely