Hi benibo, I remember U .U r the Guy who pasted home work last time.i solved the problem with good intension but i got mail from MR.Chris...... the great "NAUGHTY PROFESSOR" specifying some 'Blablabla' comments . I appreciate you since u have the intension to do home work. and u found "codeproject".some people won't. So Try To Write Code without any help.any where u stuck understand that part[ Not The Entire Code u Wrote].and post U R Question. by baijumax:-D