...

View Full Version : Visual Basic and CSV files help



LifeWriter
10-22-2012, 07:32 PM
Hello,

I'm wondering if anybody could help me; I have been given the task of creating an address book search system. I am to make it as simple to use as possible, and my coding skills aren't brilliant, I've decided to use a console Application, and the Visual basic programming language.

The problem is this program has to open a .CSV file and be able to search through it, bringing up results that match the criteria, such as search by last name, or date of birth.

I'm aware of bubble sort and things like that, I've even dabbled with Stream Reader. Looking all over the web I simply can't find a solution to my problem. I wonder if anybody could help shred light onto the situation.

Thank's to anybody that can help.

alykins
10-23-2012, 07:07 PM
streamread the entire CSV in and the split it on vbCrLf (visual basic carriage return)
then make an interface
then make a class (off that interface) and set the properties accordingly
then make a generic list for sorting

it's going to be a lot more in depth than that, but you asked for someone to shed some light :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum