Look through vb-world.net there was an example on how to do this kinda thing.