back
Moving an Object in Visual Basic
Adapted from An Introduction to Programming in Visual Basic by Beth Brown and Bruce Presley

This project will show you how to move an object in all directions. First, start a new project and choose a picture. Lay out your project like this:





Next, change the properties according to this chart:



Finally, the code for your project should look like this:



Run your project.