Hi all,

Does anyone know how vb.net works with structures when readin/writing them to files?
Im using a type that holds a string, which varies in length depending on a user's setup, along with other variables ie boolean.
Im getting bad record length when trying to read in a structure.
Does it write variable length records to the file, as Ive used UDT's in VB with no problems at all. Ive even tried to use fixed length strings( which vb.net doesnt support anyway).
Ive looked on the internet for any clues but theres nothing helpful.

Any help at all would be appreciated & stop me from pulling my hair out.

Thanks in advance.