Question:

Need help with a VB6 program.. Works on 3 XP computers but not another!

by  |  earlier

0 LIKES UnLike

'm having a problem and hope that someone can help me out with this issue?

I had a program made for me and it works on 3 of my computers with XP but for some reason it will not work on my fourth computer with XP. The error I get

when I run it says the following:

"failed to load control 'MFDatePicker' from Cal.ocx. Your version of Cal.ocx may be outdated. Make sure you are using the version of the control that was provided with your application".

Not sure what to do, thanks for any help!

 Tags:

   Report

4 ANSWERS


  1. Find the "cal.ocx" file on one of the computers on which where it was working and copy the it on the fourth one, same location (e.g. if it was in \windows\system32 on the source computer then it should go to the same folder on the destination computer).

    If it still does not work, re-register the OCX:

    CMD prompt> regsvr32 \windows\system32\cal.ocx


  2. The 4th machine probably doesnt have Service Pack 2 installed.

  3. Cal.ocx if its outdated then maybe the 3 of the 4 xp computers are up dated and the 4th is not. lol..SO UPDATE it

  4. this means that the Cal.ocx file that you're using for your app is older on th 4th XP computer than the one that was used to create the VB6 application.

    The Best fix for this is to copy the cal.ocx file from one of the other computers that does work into the C:\windows\system32 folder and try running the app again.

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.