If you don't have too much knowledge in VB, maybe you should take a look at some tutorials first to learn the basics of the programming language. For more information look here (VB6 Tutorials):
http://www.dreamincode.net/forums/showforum51.htmOr look here for VB.NET tutorials (which I strongly recommend if you are just starting):
http://www.dreamincode.net/forums/showforum92.htmAnd just for a note:
Dream.In.Code forum rules state that you should show some effort in solving your problem. Please, post the code you've been working so far. Post the code between code tags:

Thank you!