How to Fix Runtime Error 339

How to Fix Runtime Error 339

PROBLEM

  • Run-time error '339': Component 'MSCOMSTL.OCX' or one of its dependencies is not correctly registered: a file is missing or invalid.
  • Run-time error '339': Component 'COMDLG32.OCX' or one of its dependencies is not correctly registered: a file is missing or invalid.
  • Program Error Intercepted: An unexpected component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid.

SOLUTION

  1. Click the Windows Logo/Orb and type CMD but don't hit enter. The Command Prompt will show in the list of Apps/Programs. Right click and select "Run as Administrator". This will open an elevated command prompt.
    • An alternate method for an elevated command prompt in Windows 10 is right-click the Windows Logo and select "Command Prompt (Admin)”
  2. Type in the following depending on which component is missing:
    • For MSCOMSTL.OCX: %windir%\syswow64\regsvr32 mscomctl.ocx
    • For COMDLG32.OCX: %windir%\syswow64\regsvr32 comdlg32.ocx
    • Note: For Windows 32bit systems, remove “%windir%\syswow64\”
  3. Press enter. You should get a message that says "DllRegisterServer in [filename].ocx succeeded."

If the error persists, run Gorilla as an Administrator one time. Right-click on the Gorilla icon and select Run as Administrator. If this works without errors or any problems, you can set Gorilla to always run this way. Right-click on the Gorilla icon, select Properties. On the properties window, click the Compatibility tab and then check "Run this program as an administrator".



    • Related Articles

    • How to Fix Runtime Error 4605

      PROBLEM When Using Word 2013 with Gorilla, and trying to open the letter to "View" from within the Send Message Window, you get the message; Run-time error '4605': The Unexpected method or property is not available because this command is not ...
    • Runtime Error '429'

      PROBLEM “When I try to open or close Gorilla, I get a runtime error 429. How do I fix this?” “Why do I get an error 429 when I try to edit or create a document?” CAUSE The problem happens because of an error in the system configuration, or a missing ...
    • Runtime Error 76, Path not found in Gorilla 4.x

      QUESTIONS THAT APPLY TO THIS TOPIC “How do I fix an Error #76 when I try to import a satellite?” “How to I repair a ‘path not found’ error with my satellite?” ANSWERWhen trying to import to a satellite installation of Gorilla, an error stating ...
    • Automation Error or Runtime Error 3251

      PROBLEM Automation Error or Runtime Error 3251. CAUSE The “automation error” and the “runtime error 3251” both refer to the same problem: A corrupt installation of Microsoft Office or one or more of its components. SOLUTION To remedy this problem, ...
    • Error 2738 Could not Access VB Script Runtime for Custom Action

      PROBLEM When trying to install Gorilla on your computer, you get the message: Error 2738 could not access vbscript runtime for custom action.   CAUSE This error message indicates that the VBScript engine is not currently registered on the machine ...