Data type in VB.NET

4280 pts.
Tags:
VB.NET
Visual Basic 6
The following question was recently submitted by a user via e-mail: I used to use a creation of datatype in vb 6. It combined the use of strings and numbers, then the the length of the datatype was read and placed on the disk. on a specific area. When you went back to the disk to retrieve the datatype everything was read at once, numbers and ztrings. I can not find this feature in VB.net. WHAT A SHAME!!!

Answer Wiki

Thanks. We'll let you know when a new response is added.

I believe you can do this with a class in VB.Net. I’ve never written it to a file, however, you should be able to do that as well.

Simply create a new class and setup properties to contain the data you need to store, then you treat the object (and it’s associated data) as a whole entity and write the object to disk.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following