Search results for query: *

  1. D

    Format a Text file

    Thanks for all of the help.Below is the working code to take a text file and cut the Characters down to 30 chars per line. I'm posting this code to help others that are trying to learn. jmcilhinney thanks for being so cool with me and helping me learn a little. Hope this helps someone else...
  2. D

    Format a Text file

    Read Below to see correction.......................................
  3. D

    Format a Text file

    Thanks for the code.... Now when I loop through the collection I only get the last string. Could you help me with the looping of the collection. I'm new with VB.Net and just trying to learn. thanks again for all the help
  4. D

    Format a Text file

    An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication1.exe Additional information: Object reference not set to an instance of an object.
  5. D

    Format a Text file

    Sorry I'm trying to Write the collection to a file and can't seem to get it When i tried to use the code as is it was saying that myStreamReader was not declared. So when I declared it Dim myStreamReader As StreamReader = File.OpenText("C:\test.txt") Then that was throwing the error on...
  6. D

    Format a Text file

    I'm getting an error on OutStrings.Add(InString.Substring(0, 30)) why?
  7. D

    Format a Text file

    I what to take a .txt file and break each line down to only 30 characters per line and the text that is after the 30 chars. drop it down into the next line. So what it would do is, take a text file grab all of the text and make a new text file with only 30 chars per line but have all of the...
Back
Top