LoadData(sFile) - udf - loads a file's data to a string
Function LoadData(sFile as string)
Dim x
Dim sData As String
Dim sRec As String
x = bOpenSeqfile(sfile,"I")
if x < 0 then
Msgbox "File " & sFile " not found"
Stop
End if
Line Input #x, sData
sRec = sRec & sData & vbCRLF
Do While Not Eof(x)
Line Input #x, sData
sRec = sRec & sData & vbCRLF