runtime error 0 Newbie Poster

i got an assignment it has to display the mouse pointer and at the same time the x and y coordinate.

can anyone help me?

i've found the codes for displaying the mouse pointer just got some problem with the implementing side.

thanks a lot.