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:
  1. Type TEST
  2.    test1 As Long
  3.    test2 As Integer
  4. End Type
  5.  
  6. Sub Save
  7.     Dim a As TEST
  8.     Open "C:\test.bin" For Binary Access Write As 1
  9.         Put #1, a
  10.     Close 1
  11. 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...