|
Radimus,
After viewing many of your posts (all of which are very good), one can't help but notice that you are a big fan of using WriteProfileString to create ini files. What is the advantage of using this method vs. WriteLine to create a text file?
You hinted about possibly inserting this data into a SQL database. If you were going to use some type of routine to parse the files and insert records into the database, would you not have to loop through every line of the file multiple times and do some type of select case to determine exactly what fields you have and to build your update query? What would be the difference between a text file and an ini?
How would you deal with multiple files - say on a server sharepoint somewhere?
I'm not being critical - just trying to take advantage of your knowledge and learn something here.
|