Is there someone who knows why the textfile I create this way is empty?:
VB.NET:
Dim oFile As System.IO.File
Dim oWrite As System.IO.StreamWriter
oWrite = oFile.CreateText("c:\Duiven\" & txtNG.Text & "_" & txtRGN.Text & "-" & txtRGJ.Text & ".txt")
oWrite.WriteLine(txtNG.Text & "<" & txtRGN.Text & "<" & txtRGJ.Text & "<" & cboKleur.Text & "<" & intValue & "<" & txtNGMG.Text & "<" & txtRGMG.Text & "<" & txtRGMGJ.Text & "<" & txtND1OA.Text & "<" & txtRD1OA.Text & "<" & txtRD1OAJ.Text & "<" & txtND2OA.Text & "<" & txtRD2OA.Text & "<" & txtRD2OAJ.Text & "<" & txtGVA.Text & "<" & txtPA.Text & "<" & rtfAndere.Text & "<" & strIG & "<" & strN & "<" & strU & "<" & intIGT & "<" & intNT & "<" & intUT)