Search results for query: *

  1. MindConqueror

    Question Filestream.Readbyte returns -1 value at the end of strem

    this function is returning this on varify 555555555555555555555555555555555555555555555555555555555555-1 but i coded it to write only 5 this magic value -1 is comming how i can remove this magic value
  2. MindConqueror

    Question Filestream.Readbyte returns -1 value at the end of strem

    Public Function writeverify(ByRef gb As Object, ByVal xflname As String) Try Dim onefilsize As Int64 = vars.flsize MessageBox.Show(onefilsize) Dim dataArray(onefilsize) As Byte Dim students(0) As Integer students(0) = 5...
  3. MindConqueror

    Question Filestream.Readbyte returns -1 value at the end of strem

    am trying to write a file with value 1 and than want to verify that the data is written is file is correct , so its a write and verify method
  4. MindConqueror

    Question Filestream.Readbyte returns -1 value at the end of strem

    Public Function writeverify(ByRef gb As Object, ByVal xflname As String) Try Dim onefilsize As Int64 = vars.flsize MessageBox.Show(onefilsize) Dim dataArray(onefilsize) As Byte 'Dim randomGenerator As String = "1" Dim students(0) As Integer...
Back
Top