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:
 
%WINDIR%\SYSTEM32\REGSVR32.EXE %WINDIR%\SYSTEM32\mscomct2.ocx
 
You then need to register the file by typing in the following command:
 
C:\WINNT\SYSTEM32\REGSVR32.EXE
C:\WINNT\SYSTEM32\MSCOMCT2.OCX (on Windows 2000)

C:\WINDOWS\SYSTEM32\REGSVR32.EXE C:\WINDOWS\SYSTEM32\MSCOMCT2.OCX (on Windows XP)