I'm porting an application from VB6 to VB.NET and have come across something that VB.NET doesn't like. The "Print #" function (whatever its real name is). The code is as follows:
Open tmp For Output As TmpNo
'save data from first form, frminput1
Print #TmpNo, frmInput1.txtTitle
Print #TmpNo, frmInput1.txtStrandWidth
Print #TmpNo, frmInput1.txtStrandThick
'MORE IS HERE, CUT DOWN BECAUSE IT'S TOO HEFTY
Close #TmpNo
I was just wondering what the equivalent of this in VB.NET is, as there is a LOT of this and I don't want to be here until the end of time. Thanks!