Hi All,

i have written a small tool in vb .net 2005, it basically runs a batch command , dumps the output in a csv file & then loads the same csv in a richtextbox. Now the the problem is formatting the text placed in the RTB, my csv contains commas "," as seperators, so i'm using "replace" function to replace comma with a "tab" space, but due to un-even words the are still unformatted. For eg. the output looks something like this :

data1 data2 data3 data4
123 123anothertestString testdata3 test111
sample testString testdata3 test111
sample testingString anotherdata3 anothertest111



which shud look like a actual table (cnt really show 1 here)


Any way i can achieve this in a RTB? or is there any other control i shud load the csv in? the reason i'm using RTB is that after the file is loaded i'm searching for certain text & highlighting it...

help is much appreciated...