I have to create a program that moves the mouse cursor around the screen and stops when the user touches the mouse.

I know that it can be created in VB, I have a program which does it and it was created with VB, I just really need the code.

Help?