MSCOMCT2.OCX error-VBForums
Results 1 to 3 of 3

Thread: MSCOMCT2.OCX error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2004
    Posts
    72

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

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

    Re: MSCOMCT2.OCX error

    Are you using any class modules in your project?
    The poster formerly known as koolsid
    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 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  3. #3
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,334

    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
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.