Let $X$ be a smooth manifold and suppose I have a smooth vector bundle $E\to X$  which admits a connection $D$. Then on an open set $U\subset X$ where $E$ is trivial, once I choose a frame, say $e_1,...e_n$, I get a connection matrix by the rule $D(e_i)=\sum_{j=1}^{n}e_j\otimes\omega_{ji}^U$ (a column vector of 1 forms). If $V \subset X$ is another open set where $E$ is trivial and I choose a frame over $V$, say $f_1,...f_n$, then similarly I get $\omega^V$. Let $e_i=\sum_{j=1}^{n}g_{ji}f_j$. Then we have $\omega^V=g\omega^U g^{-1}-dgg^{-1}$. 

On the other hand, we can form the associated principal $GL_n$ bundle $P\stackrel{\pi}{\to} X$, with $GL_n$ acting on the right. A connection on $P$ is a $GL_n$ invariant splitting of $\pi^*\Omega_X\to \Omega_P$. Locally, after we choose trivialisations for $P$ using the frames for $E$ chosen earlier, this becomes equivalent to giving $\omega^U$ which satisfy $\omega^V=g\omega^U g^{-1}+dgg^{-1}$.

There seems to be a problem with the signs. Could someone tell me if I am making a mistake.