I need to write in a text file in Visual Basic 6 some text lines but without the vbCrLf automatically inserted at the end of the line. If i use the following code:
Open App.Path & "\TextFile.txt" For Output As #1
Print #1, "Some text"
this automatically inserts me an vbCrLf (Enter key) at the end of every line. I need to be able to choose if i want to insert Chr(13) or Chr(10) or both in a construction like this:
Print #1, "Some text" & Chr(13)
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.