Problem using Tab as delimiter for reading text file‏

vb , vs2008 , vbnet Singapore, Singapore
  • 12 years ago
    Hi, I can access the text file when using vertical bar or comma as delimiter. But problem with tab. I'm using VB.NET. Pls help and thanks. Below is my sample text file. 10248 "aaa" 01012001 12.34 10249 "bbb" 20101998 11.22 Best regards, Chong MF
  • 12 years ago
    Hi, This is the error message I get : The delimiter 'vbTab' can´t be found after the field 'CustId' at line 1 (the record has less fields, the delimiter is wrong or the next field must be marked as optional). Look forward to your help. Thanks.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila” - Mitch Ratcliffe