There is a hint on how to do this in C code snippet: http://www.daniweb.com/code/snippet6.html
You still have to do the work to modify it to your needs. I hope that's what you had in mind in the first place.
>i am a member.
I don't care if you're the Pope, do your own work.
>i need the code if you have then send it to me.
You've posted four times. All four posts have done nothing but beg for free code. You've been told four times that we won't give you free code. If you do it again having been sufficiently warned, I'll have you banned from this forum.
Thread locked. If anyone feels this action has been made in error, please PM me with your reasoning and I'll consider unlocking it.