re:
צירפתי את הקובץ שממנו אני מנסה לשלוף את הנתונים. השיטה הישנה-fileget עובדת מצויין: FileOpen(1, "vaikra.nlm", OpenMode.Random, OpenAccess.Read, OpenShare.Shared, 256) FileGet(1, mystring,index) אבל השיטה של filestream לא עובדת כמו שצריך משום מה: Dim file_stream_dat As New FileStream("vaikra.nlm", FileMode.Open, FileAccess.Read, FileShare.Read, 256, True) Dim file_dat As New BinaryReader(file_stream_dat, Encoding.GetEncoding("windows-1255")) Dim record(256) As Char file_dat.Read(record, index, 256) תודה, אופיר