Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Read/Write a struct into a file
I have a struct in vb.net like:
dim element1 as string
dim element2 as integer
dim element3 as bool
dim varTest as test
I want to write and read the whole struct variable varTest
in a file.
I already try with fileput command like
and it looks like it work
but when I try to read de struct with fileget
the app give me this error
Is there another way to read/write the whole struct into or from
0 · ·