QUOTE(brOmstar @ Aug 17 2005, 05:59 PM)
Hi i wrote a similar program some time ago ..to prevent the problem that it seems to hang during loading a big file try to load the file with an own thread..so you can show informations about the loading process in the form and you can recieve input to the form like stop loading etc. so the user feel better cause something ahppens and he can interact with the program.
If you want to load really big files > 50 mb you should have problems with the simple textbox( i had ) change it to richtextbox and it will work perfect.. hope that helps you to improve your handy tool

btw why do you write it into an access db ? I used an array and it works ...as long as your file isn't bigger then your memory

Actually I'm not loading the file directly to the DB...
The whole process looks like:
1) Reading the file line per line in order to process it and match the correct the banner to its corresponding ip-protocol-port.
2) Inserting each line to the Db <- that's where because of Access limitation you HAVE To do it line per line, and you can not execute one command to insert them all at once

As for why using a DB ?
The answer is :
I thought that would be the easiest way to select, sort and filter the whole bunch of data

Thanks to that you are not bound to the .NET objects filtering/sorting facilities

Regarding the process bar and the thread features, I was also thinking of that...
and I'll sure will implement it if I can not improve the loading performance be either using another DB, or another system of storing the data!