Function LoadFiletoString(sFile As String)If dir(sFile) = "" then Msgbox sFile & " doesn't exist, can't load data" EndEnd Ifx = bOpenSeqFile(sFile,"I")if x < 0 then Msgbox "Error " & x & " opening file " & sFile & " " & Error(abs(x)) EndEnd ifLine Input #x,sstrrec = s & vbCRLF Do while not eof(x) Line input #x, s strRec = strRec & s & vbCRLFLoopClose #xLoadFiletoString = strrecEnd Function