VLA stereoscopy of solar active regions. 1: Method and tests