A halide exchange reaction involving part substitution of the tin precursor is believed to occur in the solvent; the complex acting as a marker for improved films with improved transparent-conducting properties.