Reputation: 35
I have an array of structure like this:
Structure Planner
Dim Type As String
Dim Circuit As String
Dim Socket As String
Dim StepCMDText As String
End Structure
how do i write it into a file? (also read it later ...)
thanks
Upvotes: 0
Views: 1166
Reputation: 56
You could use xml serialization that is available in VB.NET. See http://support.microsoft.com/kb/316730 for details.
Upvotes: 2
Reputation: 8303
You could write it as a csv file but simply iterating over a list and then separating each value by a comma otherwise you could serialise it and write that to a file.
Upvotes: 0