comctl32.ocx and error 339

Discussion in 'Windows 8 Support' started by walter, Aug 8, 2014.

  1. walter

    walter

    Joined:
    Aug 8, 2014
    Messages:
    3
    Likes Received:
    0
    Hi!

    I got my new rig from two days and it have the new W8.1.

    I'm pasting the old files to get all old program and games I had on my previous XP rig.

    Testing and application (IL2 MAT MANAGER) I got an error involving the comctl32.ocx

    How can I fix it?
     
    walter, Aug 8, 2014
    #1
    1. Advertisements

  2. walter

    walter

    Joined:
    Aug 8, 2014
    Messages:
    3
    Likes Received:
    0
    UPDATE

    I tried to:

    Reregister the ocx file in system32 and SysWSW64....without success
    Update the VB6 command....without success
     
    walter, Aug 9, 2014
    #2
    1. Advertisements

  3. walter

    bassfisher6522

    Joined:
    Feb 29, 2012
    Messages:
    308
    Likes Received:
    42
    Location:
    USA NC
    I don't think you can just cut/paste it like that from one OS bit type to a completely different OS bit type....eg XP 32 bit to 8.1 64 bit. You'll need to reinstall said software for the correct OS and bit type.
     
    bassfisher6522, Aug 9, 2014
    #3
  4. walter

    walter

    Joined:
    Aug 8, 2014
    Messages:
    3
    Likes Received:
    0
    Even reinstall that program don't solve the issue....

    The error say about this:

    Run-time error 339

    comctl32.ocx isn't registered or one of its component is missing
     
    walter, Aug 9, 2014
    #4
  5. walter

    Trouble noob whisperer Moderator

    Joined:
    Jan 15, 2013
    Messages:
    715
    Likes Received:
    131
    Location:
    N.W. Indiana
    first find comctl32.ocx (the file that is causing you problems), where it is currently located on your computer.
    I like using a program called "Everything" for a good full search of my system for such things you can get it from here http://www.voidtools.com/
    And it's very fast and efficient.
    When you find it.... Copy and paste it to C:\Windows\System
    Then launch a command prompt as administrator and confirm the command prompt is C:\Windows\System
    It will usually open with the prompt indicating C:\Windows\system32
    Simply type
    cd C:\windows\system
    and hit enter
    then type
    regsvr32 comctl32.ocx
    and hit enter
    And then type
    exit
    and hit enter.
    Not sure if you need to reboot or not. Give it a whirl and see if that helps.... there may be additional .OCX(s) you'll have to copy and paste to the same location and register by name as explained above, if you get additional error messages about them specifically.
     
    Trouble, Aug 9, 2014
    #5
  6. walter

    Trouble noob whisperer Moderator

    Joined:
    Jan 15, 2013
    Messages:
    715
    Likes Received:
    131
    Location:
    N.W. Indiana
    A typical clean installation of Windows 8.1 won't have much in the way of files or folders inside the C:\Windows\System folder.
    These old programs look there for certain files they need to run......
    So I believe it's there for backwards compatibility for this type of thing.
     
    Trouble, Aug 9, 2014
    #6
  7. walter

    Shintaro Moderator

    Joined:
    Nov 14, 2012
    Messages:
    238
    Likes Received:
    20
    Location:
    Sydney, Australia
    Ok, VB6 Runtime. What a blast from the past!

    comctl32.ocx is a Common Control ActiveX 32 bit version library (Buttons and stuff) for Visual Basic 6.

    Error 339 is an error that the file is not found.

    Have a look at this MS Post HERE. It will tell you how to register old ActiveX controls. It is talking about comDlg32.ocx (Common Dialog), so just substitute it for your comctl32.ocx.

    Important bits:
    1. The command prompt MUST be run as Administrator! (As pointed out by Trouble)
    2. If you are using 64 bit Windows then the OCX files must go in C:\Windows\SysWow64
    BTW Wow64 means Windows On Windows 64bit a emulator that runs the to run 32 bit applications in 64bit environment.

    If you need the latest 32bit OCX files they are HERE on the Microsoft Website.
    Use 7Zip to extract the files you need.

    Hope this helps.
     
    Last edited: Aug 9, 2014
    Shintaro, Aug 9, 2014
    #7
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.