been trying to do this for a few days with not much luck, I found some code when I searched but its not reading 900 chars of the file only the first few characters, heres my code:

BTW its supposed to read the first 900 chars

VB Code:
  1. Dim File As String
  2.  
  3.         Dim fs As FileStream
  4.         Dim binRead As BinaryReader
  5.         Dim readbuf(900) As Char
  6.  
  7.         Dim i As Integer
  8.         Dim strData As String = vbNullString
  9.  
  10.         File = "C:\UK Wholesalers.doc"
  11.  
  12.         fs = New FileStream(File, FileMode.Open, FileAccess.Read, FileShare.None)
  13.         binRead = New BinaryReader(fs)
  14.         readbuf = binRead.ReadChars(900)
  15.         binRead.Close()
  16.  
  17.         'convert the char array to string
  18.         For i = 0 To readbuf.GetUpperBound(0)
  19.             strData = strData & readbuf(i)
  20.         Next
  21.  
  22.         TextBox1.Text = strData

anyone got any ideas?