• Date Picker error message (2000)

    Author
    Topic
    #375226

    I’m using Microsoft Windows Common Controls-2.60(SP3), the C:WINNTSystem32mscomct2.ocx file, for a date picker control on one of my forms. I and another user have it installed on our C: drive, and it works fine for us. However, a third person is getting Error 2683 “There is no object in this control” messages when the form opens. They have it installed on a network drive, but I don’t think that is part of the problem because I just tested it here on a network drive and it works fine there too. The reference is checked in their References box.

    The code I have behind the Form_Load event is:
    DateRangeSelectorBegin.Value = DateSerial(Year(Date), Month(Date) – 1, 1)
    DateRangeSelectorEnd.Value = DateSerial(Year(Date), Month(Date), 0)

    Any ideas why this is broken on this PC?

    Thanks,

    Randy

    Viewing 1 reply thread
    Author
    Replies
    • #609717

      Is the ocx registered properly on the PC?

      Start|Run…

      regsvr32 C:WINNTSystem32mscomct2.ocx

      to re register to ocx.

    • #609873

      It works on the network drive if you already have it registered on your own PC.

    Viewing 1 reply thread
    Reply To: Date Picker error message (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: