Is it possible to have a custom file type that would open in a VB program.
For example: There is a text box with some text and a check box that’s checked… You would save to a custom file type and when you opened the file up again, the check box would be checked and the text box would have the text. It would basically save the state of the program to a custom file type.
E.g. -> .pro, .lll, .hgy, .xyz, .abc
I’m just curious… is this possible and if so, how would I approach this?
You can do what Ichiru states with a BinaryWriter and BinaryReader which I have done with some of my projects before using an in Memory datatable and serializing it.
But .Net has a built in Settings Class that you can use to persist your Data. It would be used like this