Delen via


Line <number> cannot be parsed using the current Delimiters

The specified line cannot be parsed because it uses delimiters other than those specified.

To correct this error

  • Adjust Delimiters so the line can be parsed correctly, or insert exception-handling code in order to handle the line.

See Also

Tasks

How to: Read From Text Files with Multiple Formats in Visual Basic

Concepts

Parsing Text Files with the TextFieldParser Object

Reference

My.Computer.FileSystem.OpenTextFieldParser Method

TextFieldParser Object

TextFieldParser.Delimiters Property

TextFieldParser.SetDelimiters Method