I try to avoid WriteProfileString.

See: http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=1;t=006118#000009

supported by my tests: http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=2;t=003264#000000

I format the entire file into one string variable and then perform one WriteLine to write the whole file one time.

I then use a Perl program to gather all the files on my share and parse them writing a delimited file that can be used in Excel or imported into Access. If a SQL database is the target my Perl program sends the parsed data directly there.

[ 06. September 2003, 04:49: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/