I sent you some sample code hope it helps.

/Anders