>Thank you so much Bonnie
>but if its not much asking, how can i do it in vb.net?
>Thank you again genius :)hahaha ... don't be so quick to call me a genius! When it comes to VB, I'm brain-dead. But, I suspect that it's quite similar to what I've described in C#.
The only thing I can offer you is an online C#-to-VB conversion utility:
http://www.developerfusion.com/tools/convert/csharp-to-vb/Sorry!
~~Bonnie