The DirectX7.VectorRandom method returns a random unit vector.
object.VectorRandom(v As D3DVECTOR)
If the method fails, an error is raised and Err.Number is set.