You can not use WriteProfileString if you want one row.

Look into using WriteLine() instead.
_________________________
Home page: http://www.kixhelp.com/hb/