Hey,

I do apologise for a simple post, but am finally making the transition from vb6 to .NET. I used the following code to save a series of text boxes to a file in vb6. I basially need the same code for VB.NET

Code:
Dim sFileText as String
Dim iFileNo as Integer
iFileNo = FreeFile
Open "C:\Test.txt" For Output As #iFileNo

'Write data
Print #iFileNo, tb1.text
Print #iFileNo, tb2.text
Print #iFileNo, label.caption
Print #iFileNo, "etc."
Close #iFileNo
Regards,

Adam.