1. A method for controlling movement of a catheter through a body, the method comprising the steps of: (a) mechanically pushing a flexible catheter having a magnetic tip through the body; and (b) while the medical device is being advanced, applying with at least one electromagnet outside the body a magnetic field having a magnitude and an orientation effective to orient the magnetic tip of the mechanically-pushed catheter in a predetermined direction.