Windows 7 and MSCOMCTL.OCX problem RRS feed

  • Question

  • Moved my VB6 sp5 to Windows 7 computer.  Using empty project with MSCOMCTL object in Components. When trying to view MSCOMCTL in Object Browser the VB6 environment crashes. The same happens with comctl32  component. Other components seem to be OK. It did not happen in Windows XP or Vista.

    MSCOMCTL.OCX is 6.01.9786.

    comctl32.ocx is 6.00.8105

    Thanks for your help.

    • Changed type Dale Qiao Thursday, June 24, 2010 2:05 AM
    • Moved by Dale Qiao Thursday, June 24, 2010 2:06 AM move to relevant catagory. (From:Windows Vista Migration)
    Wednesday, June 23, 2010 7:10 PM


All replies

  • Hi,


     Thanks for posting in Microsoft TechNet forums.


    Do you install Windows 7 32bit version or Windows 7 64bit version?


    1.     Please go to Event Viewer, click Applications and see if any error is logged.

    2.     It seems that the MSCOMCTL.OCX isn’t correctly registered or that it isn’t compatible with your Windows. Please open a Command Prompt and run as Administrator, then type the following command:


    Regsvr32 MSCOMCT2.OCX


    If you are using Window7 64bit, try typing:


    Regsvr32 c:\windows\SysWOW64\MSCOMCT2.OCX


    If the issue still persists, let’s download a new MSCOMCTL.OCX and register it again. You can download the MSCOMCTL.OCX from the following link:




    Please note: we provide the third party link to download relevant files. There may be some changes without notice, Microsoft doesn’t guarantee any accuracy on contacting information.


    3.     Perform the same method for comctl32.ocx.


    Best Regards

    Dale Qiao
    TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.com


    Please remember to click “Mark as Answer” on the post that helps you.
    • Proposed as answer by Qayum1616 Friday, September 28, 2012 10:18 AM
    Thursday, June 24, 2010 6:51 AM
  • That did not help. I have Windows 7 32bit installed.

    I post here App Event log which is added on every crash.

    OLEAUT32.dll on Win7 computer is 6.1.7600.16385   7/13/2009 9:16

    OLEAUT32.dll on working Vista computer is 6.0.6002.18005   4/11/2009 2:28

    Problem is only with Object browser, otherwise the components work OK.


    Log Name:      Application
    Source:        Application Error
    Date:          6/25/2010 2:02:55 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Lenkost7
    Faulting application name: vb6.exe, version:, time stamp: 0x39c140a3
    Faulting module name: OLEAUT32.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaca
    Exception code: 0xc0000005
    Fault offset: 0x00021e1a
    Faulting process id: 0x10fc
    Faulting application start time: 0x01cb142c0714e3c3
    Faulting application path: C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe
    Faulting module path: C:\Windows\system32\OLEAUT32.dll
    Report Id: 4b858c06-801f-11df-8874-0015af079c03
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <TimeCreated SystemTime="2010-06-25T06:02:55.000000000Z" />
        <Security />
        <Data>C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe</Data>

    Friday, June 25, 2010 6:17 AM
  • As the Event log recorded, the issue is due to VB6.0, to solid troubleshoot this kind of issue, it may require collecting the crash dump files and performing some source coding, I recommend you to contact Microsoft Visual Studio for specific solutions.  


    BTW, there are some reported issues with VB6.0 running on Windows 7, please refer to:


    Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008 and Windows 7


    Best Regards

    Dale Qiao
    TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.com

    Please remember to click “Mark as Answer” on the post that helps you.
    • Marked as answer by Dale Qiao Wednesday, June 30, 2010 3:56 AM
    Monday, June 28, 2010 3:15 AM
  • Works for me :D Thanks
    Friday, September 28, 2012 10:17 AM
  • Hello, I am using Windows8 and Office2013, both64bit.I tried as said, but got no result. made on another PC and it worked correctly. What can I do?
    The other test wason a computer with windows 7 32bit....

    Best regards...

    Thursday, April 25, 2013 3:39 AM