M
Mad Scientist Jr
this was easily done in vb6 (see below), can someone post the
equivalent vb.net code? thanks a lot !
' SAVE ARRAY TO FILE
Dim sFile As String
sFile = App.Path & "\test.arr"
Open sFile For Binary As #1 ' Open file for binary access
Put #1, , arrData ' Write array to file
Close #1 ' Close file
' LOAD ARRAY FROM FILE
Dim sFile As String
sFile = App.Path & "\test.arr"
Open sFile For Binary As #1 ' Open sample file for binary access
Get #1, , arrData ' Read array from file
Close #1 ' Close file
equivalent vb.net code? thanks a lot !
' SAVE ARRAY TO FILE
Dim sFile As String
sFile = App.Path & "\test.arr"
Open sFile For Binary As #1 ' Open file for binary access
Put #1, , arrData ' Write array to file
Close #1 ' Close file
' LOAD ARRAY FROM FILE
Dim sFile As String
sFile = App.Path & "\test.arr"
Open sFile For Binary As #1 ' Open sample file for binary access
Get #1, , arrData ' Read array from file
Close #1 ' Close file