[Tex/LaTex] Problem with \includegraphics not compiling

graphics

I've been using TexnicCenter and \includegraphics to render EPS files as images for many years. My old laptop died, and I've had to start using a new laptop.

Everything was working well until I tried to include an image.

\begin{figure}
    \centering
        \includegraphics[width=0.50\textwidth]{C:/Documents and Settings/user/Desktop/LaTeX/Diagram.eps}
    \label{fig:Diagram}
\end{figure}

I did it in the usual way: I used the "Insert > Picture" options from the TexnicCenter tool bar. I had created my image independently and used the same website to convert it to an EPS. I had done everything the same way as I have always done. The only problem is that this time, it wouldn't compile. There are two errors with the compilation.

One of the errors is that it cannot determine the size of the graphic, (no bounding box). The other error is that the file 'C:/Documents and Settings/user/Desktop/LaTeX/Diagram.eps' is not found.

Best Answer

Just use

\includegraphics[width=0.50\textwidth]{Diagram}

with no path and no extension and put the image in the same folder as your document. (there are other possibilities but that is most portable)