Results 1 to 3 of 3
  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2004

    Question MSCOMCT2.OCX error

    I get an error when loading a userform in Excel that has a datepicker control:

    “Run Time Error ‘459’ … Object or Class does not support the set of events”.
    Both in Excel 2007 and 2003. Under Windows XP.

    I tried to resintall the control (regsvr32, with success) but now I get the
    error : class factory cannot supply requested class. I bleieve I installed an
    Older control.

    Did anybody has these problems before?
    How can I update MSCOMCT2.OCX properly?

    Thanks for any help.

  2. #2
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Mumbai, India

    Re: MSCOMCT2.OCX error

    Are you using any class modules in your project?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - 2015 IMP Links : Acceptable Use Policy, FAQ
    ACER R7 (Win 8.1+Office 2013+VS2013) || Sony VPCCB-45FN with a Win10+Office 2010. || Mac Book Pro (10.6.8) with Office 2011

  3. #3
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Searching for mendhak

    Re: MSCOMCT2.OCX error

    Is this happening on all projects (for instance, if you started a brand new project, would you be getting the same error), or is it happening in just one particular project?
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.