Well after doing some more looking on google I came accross this looks intresting
http://www.codeproject.com/Articles/...r-step-by-step