Run-time error ‘339’: MSCOMCT2.OCX is missing

If you ever get this error : "Run-time error `339`; Component `MSCOMCT2.OCX or one of its dependencies not correctly registered: a file is missing or invalid."
This error is indicating that your workstation installation is missing a file that should have been installed when the OS was installed.
To fix the problem, simply download MSCOMCT2.OCX or copy it from another machine.
You then need to put it into the correct directory on the problem machine. It should look something like this:
You then need to register the file by typing in the following command:
C:\WINNT\SYSTEM32\MSCOMCT2.OCX (on Windows 2000)