The main task of this thesis is to develop multi-scale approaches to model electron transport in molecular device. At the single molecular level, both elastic and inelastic electron-tunneling processes have been treated simultaneously using first principles methods. By comparing with experiments, the mechanism for conductance switching observed in Pd-dithiolated oligoaniline-Pd molecular juncti...