  In the early nineties several teams started large scale systematic surveys of
the Magellanic Clouds and the Galactic Bulge to search for microlensing
effects. As a by product, these groups have created enormous time-series
databases of photometric measurements of stars with a temporal sampling
duration and accuracy which are unprecedented. They provide the opportunity to
test the accuracy of primary distance indicators, such as Cepheids, RRLyrae
stars, the detached eclipsing binaries, or the luminosity of the red clump. We
will review the contribution of the microlensing surveys to the understanding
of the physics of the primary distance indicators, recent differential studies
and direct distance determinations to the Magellanic Clouds and the Galactic
Bulge.
