This should probably go in the Games and Graphics forum, if it is in VB.

Take a look at some pathfinding algorithms (its basically what you want). A* is a standard, and there are others that may interest you.

Z.