How to Fix Runtime Error 339?

by Olivia Morelli - -


Issue: How to Fix Runtime Error 339?

I’ve received a runtime error message. The warning says: “Runtime error 339: Component COMDLg32.ocx is not correctly registered or file is missing”. I’ve tried troubleshooting this issue, but nothing has worked. Could you help me?

Solved Answer


Runtime Error 333 is a runtime error that might occur when launching or running particular programs. Numerous reasons might cause the error. However, it is often related to the corrupted or missing .ocx files. They are legitimate files that could be found on Windows operating system. On average the system includes around 10,000 OCX files. These files are crucial program files that are necessary for performing various functions or maintaining program’s stability. Seeing runtime error 339 means that some of these files are corrupted, deleted or missing. The error message always includes the name of the file that needs to be fixed, for instance:

Runtime error 339: Component COMDLg32.ocx is not correctly registered or file is missing.

Thus, in this case, there’s a problem with the COMDLg32.ocx file. Sometimes this error is caused because of an incorrectly installed program. As we already mentioned, this warning message might show up when running programs. Hence, even if the installation of the application was smooth, this error might still occur. If the program has been installed not correctly, usually it’s enough to uninstall and reinstall it in order to fix runtime error 339. In some cases, this error shows up due to the issues with DLL files of the particular program. For instance, these files might be deleted or corrupted. What is more, the error might also be related to various problems with Windows Registry. Fortunately, usually, it’s not hard to fix Runtime Error 339. You need to fix the corrupted file that prevents a program from running properly.

How to fix Runtime Error 339?

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.

In order to get rid of runtime error 339, you need to fix the file that causes this problem. As we already mentioned, this file name is written in the pop-up error window. For solving this issue, you have three option.The first and simplest method requires uninstalling and installing again the program which using you receive this error. Thus, you should try this method at first. If it doesn’t work, then try the second and third methods.

Method 1. Reinstall the program.

If this error occurs when using a particular program, uninstall and then reinstall it again. One of the reasons why error 339 error occurs is an incorrect installation of the software.

Method 2. Reregister the corrupted file.

The error message you received includes the name of the corrupted file. If you received a message saying “Runtime error 339: Component COMDLg32.ocx is not correctly registered or file is missing”, you need reregister COMDLg32.ocx files. If you have issues with another .ocx file, instead of “COMDLg32.ocx” use your file name.

1. Go to the Command Prompt.

2. Select Run as administrator and type this command:

regsvr32 comdlg32.ocx

3. Then, you are supposed to receive a message saying that you managed to reregister the corrupted .ocx file successfully. The message should look like “DllRegisterServer in comdlg32.ocx succeeded” or similarly.

Method 3. Execute commands in Command Prompt.

If none of the above methods haven’t worked for you, try this method to fix Runtime Error 339.

1. Run the Command Prompt.

2. Choose Run as administrator.

3. Execute all of the following commands in the Command Prompt. Press enter after each typed command:

regsvr32 \Windows\System32\ comdlg32.ocx /u

regsvr32 \Windows\System32\ comdlg32.ocx

NOTE. If you receive an error about another .ocx file, please replace “comdlg32.ocx” with your file name.

4. Exit Command Prompt. Now you should not receive error 339.

However, if none of these methods have worked or you have noticed that your computer operates oddly, check the system for the virus infection. Scan computer with reputable malware removal programs, such as Reimage. Sometimes malware uses names of the legitimate files or system processes to bypass computer’s security.

Repair your Errors automatically team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

We might be affiliated with any product we recommend on the site. Full disclosure in our Agreement of Use. By Downloading any provided Anti-spyware software you agree to our privacy policy and agreement of use.
do it now!
Download Fix
do it now!
Download Fix
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using Reimage, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Reimage - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Reimage - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Reimage malware removal tool.
Press mentions on Reimage

About the author

Olivia Morelli
Olivia Morelli - PC & Mac repair expert

Olivia Morelli is a young, but a perspicacious IT expert who is currently just a year away from a Bachelor’s Degree in Software Systems. Her primary passion is cyber security, however, thanks to her detailed understanding of computer networks, operating systems and hardware, she can find a fix for any PC or Mac issue...

Contact Olivia Morelli
About the company Esolutions

What you can add more about the problem: "How to Fix Runtime Error 339?"