none
Microsoft Date Picker control unexpectedly stops functioning in Outlook 2010 RRS feed

  • Question

  • We have a long-standing Outlook VBA project that has unexpectedly stopped functioning with the error message "Object library invalid or contains references to object definitions that could not be found".

    We have traced the problem to the 'Microsoft Date/Time Picker' control.  We have successfully unregistered and re-registered both the MSCOMCTL.OCX and MSCOMCT2.OCX files in the C:\Windows\SysWOW64 folder with administrative privileges.  However, when using the free NirSoft RegDLLView utility, neither of the Microsoft common control files above shows as registered.  Furthermore, if we try to use the NirSoft RegDLLView utility to register these files, we receive an unknown error message, unlike the successful registration using the Windows Regsvr32 utility.

    Can someone please help us understand why the files appear to register properly, but apparently are not actually registered?

    Tuesday, September 9, 2014 8:10 AM

Answers

  • Hi,

    According to your description, you want to use 'Microsoft Date/Time Picker' control in a Outlook userform.

    Could you please tell us system information and Outlook version?

    Please try the following steps:

    1. Download the control from http://activex.microsoft.com/controls/vb6/MSCOMCT2.CAB.

    2. Copy to the system folder (c:\windows\sysWOW64 for 64 bit systems and c:\windows\system32 for 32 bit)

    3. Open the command prompt to register the file (e.g. "regsvr32 c:\windows\sysWOW64\mscomct2.ocx")

    After that, can you use this control after adding?

    Regards,

    George.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, September 10, 2014 6:01 AM
    Moderator

All replies

  • Hi,

    Since you are working on a VBA project, I've moved this thread to Outlook for Developers forum, I think you can get dedicated support in the proper forum.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,

    Melon Chen
    TechNet Community Support


    It's recommended to download and install Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office programs.

    Wednesday, September 10, 2014 5:48 AM
  • Hi,

    According to your description, you want to use 'Microsoft Date/Time Picker' control in a Outlook userform.

    Could you please tell us system information and Outlook version?

    Please try the following steps:

    1. Download the control from http://activex.microsoft.com/controls/vb6/MSCOMCT2.CAB.

    2. Copy to the system folder (c:\windows\sysWOW64 for 64 bit systems and c:\windows\system32 for 32 bit)

    3. Open the command prompt to register the file (e.g. "regsvr32 c:\windows\sysWOW64\mscomct2.ocx")

    After that, can you use this control after adding?

    Regards,

    George.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, September 10, 2014 6:01 AM
    Moderator
  • Thank you for the reply, George.  We apologize for the missing information, we usually include such things.  We are using Outlook 2010 under Windows 7 Professional.  Does that help?

    We also note that your link (http://activex.microsoft.com/controls/vb6/MSCOMCT2.CAB) to the date picker control is broken or unavailable from our browser.

    Thanks for your help.

    Wednesday, October 29, 2014 9:44 PM