Instead of using #1 I think you should use FreeFile shouldn't you? As #1 may already be open.
VB Code:
Dim intFreeFile As Integer intFreeFile = FreeFile open fileName for OutPut as #FreeFile 'Open the file for output Print #FreeFile, lblField1.Caption & ": " & txtField1.text
etc... That's my understanding anyway![]()


Reply With Quote