E come scrivi su file una struttura?

Per VB intendi VB.NET ?