File not found err msg

rfresh

Well-Known Member
Licensed User
Longtime User
I'm getting a file not found err msg on the raf.Initialize() method below. I thought if the file did not exist at write time, it would automatically be created. Is this true or no?


B4X:
   Dim raf As RandomAccessFile
   raf.Initialize(File.DirRootExternal,pDisplay_dat_filename,False) 'False means Writable, True means Read Only
   raf.WriteInt(pAutoCloseAfterSelection,raf.CurrentPosition)
   raf.Close
 
Top