Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a file help...with wordwrap

Status
Not open for further replies.

jcash35010

Programmer
Jul 22, 2003
21
0
0
US
I am creating a file in vb.net. It was been working fine until today where half of the text is advancing to the next line like it sees a carriage return or the text is too long. I haven't made any changes to the code, and I don't understand why its happening....Anyone with any suggestions?
Below is an example of my code..

Dim fso, MyFile
fso = CreateObject("Scripting.FileSystemObject")
MyFile = fso.CreateTextFile(filespec, True)
MyFile.Close()

Print(g, "FACTORY ")
WriteLine(g)
 
What are you using to check the file with? If it's notepad, then check notepads's wordwrap mode and make sure it's off.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top