VB Code:
  1. 'Open the file
  2.         Open sFilepath For Input As #lFilenum
  3.  
  4.         'Read stuff into Buffer
  5.         Buffer = Input(LOF(lFilenum), lFilenum)
  6.  
  7.         'Now do whatever you want to do with the files
  8.         'bla bla bla
  9.  
  10.         'Close the file
  11.         Close #lFilenum