none
Component mscal.ocx or one of its dependencies not correctly registered

    Question

  • Good morning everyone,

    I have a problem with mscal.ocx, and a Visual Basic 6.0 installer application that uses that mscal.ocx. We have an user administrator who installs that application on several machines to be used by drafting people.

    The problem never happens when the user administrator run vb 6.0 application because he is administrator. When any of drafting group tries to use the application, after the application is installed, he has a problem which says "Component mscal.ocx or one of its dependencies not correctly registered"

    To fix tha problem the user administrator has to login on user machine and run the vb application, after he does that, any user (who is not administrator) can use the application without any problem.

    Now the user administrator wants to install the application and not run the app on user PC.

    My question is: what does the user administrator need to do to let any user to use the application without running that application?

    I really appreciate any help or advise.


    kindly Regards Jhonny Marcelo

    Thursday, May 31, 2012 11:00 PM

Answers

  • Hi,

    The error means the interactive user does not have access permission to the ActiveX control that is listed in the error dialog box. Please try to grante the nessesary permission to that user.


    Juke Chou

    TechNet Community Support

    Monday, June 4, 2012 8:47 AM
    Moderator

All replies

  • Here is answer from previous discussin (Author: Thoas_77)

    You need to copy the MSCOMCT2.OCX file to c:\windows\sysWOW64 not c:\windows\system32. You then can register it by running from the command prompt or run in the start menu regsvr32 c:\windows\sysWOW64\mscomct2.ocx and it should register although make sure that you run regsvr32 with administrator privileges.

    How to run that command in Administrative Mode
    ================================
    1. Click the Start button, then in the "Start Search" box, type CMD but DO NOT press Enter yet.
    2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".
    3. In the open window, type the following command and press Enter:

    regsvr32 c:\windows\sysWOW64\mscomct2.ocx

    Regards

    Milos

    Friday, June 1, 2012 9:15 AM
  • Hi Milos,

    thanks for your response, I really appreciate.

    Regarding my question sorry for not explaining my problem very clear . I have a Visual Basic 6.0 application that uses the mscal.ocx. Tha application has an installer that was created to work on windows 32 bit. The previous programmer created an installer on windows XP and using VB 6.0.

    There is a drafting administrator who is a super user, and can use the installer to install the vb app in any machine. Being a super user, I mean having administrator privilege in any PC.

    Since drafting people have restricted privileges on their PC. They can only run the vb application.

    The problem happens when the drafting administrator install the vb application on new windows 7 (32-bit) machines. When he installed the app, he must run the vb application for the first time to allow drafting users to use the application. I think being an administrator and running the VB application for first time, it lets register the ocx control automatically on the PC. I mean he does not need to register that ocx control manually. After the vb application was executed by the administrator, the application is ready to be use for any body without having the error:  Component mscal.ocx or one of its dependencies not correctly registered.

    That problem never happened before installing a vb application on windows xp machine.

    The drafting administrator asked me to fix that issue. He only wants to install the vb application and not run it.

    Please help me to fix that problem.


    kindly Regards Jhonny Marcelo

    Friday, June 1, 2012 3:31 PM
  • Hi,

    The error means the interactive user does not have access permission to the ActiveX control that is listed in the error dialog box. Please try to grante the nessesary permission to that user.


    Juke Chou

    TechNet Community Support

    Monday, June 4, 2012 8:47 AM
    Moderator