Synthesis, crystal structures, linear and nonlinear optical properties, and theoretical studies of (p-R-phenyl)-, (p-R-phenylethynyl)-, and (E)-[2-(p-R-phenyl)ethenyl]dimesitylboranes and related compounds.