Hello :)

I am having a bit of trouble with a bit of code. I'm not really sure what is needed.

The program contains a few buttons etc however, I am having trouble with two picture boxes. For this thread they are called picBlue and picGreen

I want picBlue to randomly locate somewhere on the screen and wait when the form loads. If something makes contact with it, such as PicGreen (which is moved by a key), I want it to display a message box saying that it has made contact with it then change to some other location on the form.

I've tried experimenting but I end up with buggy or useless code which does not work and I am totally lost as to how to achieve this. I am a beginner in visual basic so forgive my noobishness :)

Thanks!