The epitaxial growth of GaAs and (Al,Ga)As doped with boron (from diborane) and silicon was investigated to examine the effect of boron on (DX) centers in silicon-doped material. The addition of diborane to the growth of GaAs and (Al,Ga)As results in the superlinear incorporation of boron into the solid with a concurrent reduction in the growth rate. Boron incorporation also decreases as the growth temperature is increased. Additionally, the AlAs mole fraction increases with increasing diborane during (Al,Ga)As growth. The DX center was not eliminated in (Al,Ga)As by the addition of boron. The thermal stability of these materials was also investigated.