Put a print "? $Value ? $Value2" in your loop and just before the WriteProfileString to verify that you are collecting the data and that we are not loosing it somehow.
_________________________
Home page: http://www.kixhelp.com/hb/