none
Windows 7 and MSCOMCTL.OCX problem

    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 QiaoModerator Thursday, June 24, 2010 2:05 AM
    • Moved by Dale QiaoModerator Thursday, June 24, 2010 2:06 AM move to relevant catagory. (From:Windows Vista Migration)
    Wednesday, June 23, 2010 7:10 PM

Answers

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:

     

    Msconctl.zip

     

    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.

    Thanks.

    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
    Description:
    Faulting application name: vb6.exe, version: 6.0.89.88, 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">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-06-25T06:02:55.000000000Z" />
        <EventRecordID>6773</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Lenkost7</Computer>
        <Security />
      </System>
      <EventData>
        <Data>vb6.exe</Data>
        <Data>6.0.89.88</Data>
        <Data>39c140a3</Data>
        <Data>OLEAUT32.dll</Data>
        <Data>6.1.7600.16385</Data>
        <Data>4a5bdaca</Data>
        <Data>c0000005</Data>
        <Data>00021e1a</Data>
        <Data>10fc</Data>
        <Data>01cb142c0714e3c3</Data>
        <Data>C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe</Data>
        <Data>C:\Windows\system32\OLEAUT32.dll</Data>
        <Data>4b858c06-801f-11df-8874-0015af079c03</Data>
      </EventData>
    </Event>

    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.
    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