Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Comma ending file reading, how do I disable?
I'm using this simple code to read from a text file:
Private Sub Command5_Click()
Dim data As String
Open "C:coords.txt" For Input As #1
Text1.Text = data
what it's reading from the file is this:
Form1.PSet (3000, 3000), RGB(0, 0, 255)
In Text1.Text all that appears is:
It's cutting it off, or ending at the comma, is there a way to override this? Or replace the comma with a different symbol then change it back?
0 · ·