Please post your message in the proper forum. I was going to move it for you, however there isn't enough information here to pick the right forum.
You will get more help if you use the correct forum.
Please do your own homework.
I am here to help you, not do it for you.
I do not have sample code for anything