We present two kinds of exact vector-soliton solutions for coupled nonlinear Schrdinger equations with time-varying interactions and time-varying harmonic potential. Using the variational approach, we investigate the dynamics of the vector solitons. It is found that the two bright solitons oscillate about slightly and pass through each other around the equilibration state which means that they are stable under our model. At the same time, we obtain the opposite situation for dark-dark solitons.