Do I have to use serialization just to dump a structure to a file?
Do I have to use serialization just to dump a structure to a file? I hope this is not the case. I hope I can work it out like in VB6...
VB6 example:
VB Code:
Type TEST
test1 As Long
test2 As Integer
End Type
Sub Save
Dim a As TEST
Open "C:\test.bin" For Binary Access Write As 1
Put #1, a
Close 1
End Sub
is there a way to do exatcly the same thing in VB.NET WITHOUT using serialization?
btw, I know how to use serialization so please don't give me any examples on that...