Thankyou for the link I have read it 4 times now and still cant get my head around this. All the examples I can find on youtube relate to console application which I am sure are similar but I just cant get them. Do you know of examples of some working code that I could look at?