Is it possible to access a binary file using random mode? I have a binary file that is more than 2 gb to read in different record sizes ( 4 fields to 15 fields). I need to use seek but with seek the biggest byte index is equal to the upper limit of long type. Therefore I can't go over that amount. With random access, seek uses record number not byte, giving it a larger amount of data that can be read. Any suggestions on getting this problem resolved? Thanks.