RESOLVED:registering MSCAL.OCX

  • 14 years ago
    I can not seem to be able to register MSCAL.OCX for VB.

    I used regsvr32 MSCAL.OCX

    MS Access sees it as registered but VB does not.

    If I go into VB componnets it is not in the list.  If I browse and select it I get the message: component not correctly registered.

    I have re-installed VB (did not do an uninstall) and ran sp 6 with no luck..

    Any ideas.

    HELP...

  • 14 years ago
    Can you please put your question another way?
    What do you mean as a registry key?

    I noticed that there is a regOCX.exe buried on the VB disc. Should I use that to register the OCXs?

    I looked on MSDN for the error and all it said was to re-install the component. Of course I could not find on lick of documentation on how to install the OCX to begin with. I guess you are just suppose to know or at least know where to look.
  • 14 years ago

    Welp apparently I had a corrupted OCX.


    Here is how I fixed it:


    I unregistered the messed up ocx


    1)un- register the OCX
     If you have XP just right click on the OCX and select unregister.. pretty cool
      otherwise from the dos cmd line: regsvr32 c:\windows\system32\mscal.ocx
      (WinNt if on windows 2000 instead of Windows)
    2) deleted the mscal.ocx


    3) restart the computer


    4) find an OCX from another computer that you know works and copy back c:\windows\system32\mscal.ocx


    5) register the new OCX
      If you have XP just right click on the OCX and select register.. pretty cool
      otherwise from the dos cmd line: regsvr32  c:\windows\system32\mscal.ocx
       (WinNt if on windows 2000 instead of Windows)
    6) restart the computer


    Dont know if all the steps are required but it worked...


    Alley

  • 14 years ago
    Welp apparently I had a corrupted OCX.

    Here is how I fixed it:

    I unregistered the messed up ocx

    1)un- register the OCX
     If you have XP just right click on the OCX and select unregister.. pretty cool
      otherwise from the dos cmd line: regsvr32 c:\windows\system32\mscal.ocx
      (WinNt if on windows 2000 instead of Windows)
    2) deleted the mscal.ocx

    3) restart the computer

    4) find an OCX from another computer that you know works and copy back c:\windows\system32\mscal.ocx

    5) register the new OCX
      If you have XP just right click on the OCX and select register.. pretty cool
      otherwise from the dos cmd line: regsvr32  c:\windows\system32\mscal.ocx
       (WinNt if on windows 2000 instead of Windows)
    6) restart the computer

    Dont know if all the steps are required but it worked...

    Alley

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Rick Osborne