Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Strange behavior
Divers
Thread ID:
00869110
Message ID:
00869110
Vues:
53
Getting the following error:
OLE error code 0x80040154: Class not registered.
OLE object is being ignored. Record number 26.

I have a form with two DynaZip ActiveX controls that has worked for some time. The controls do Zip and Unzip. I copied the form to another project and it gives me an OLE error as soon as I try to modify it in that project. If I ignore the errors VFP strips the controls out of the form. The form appears to be based entirely on VFP base classes. We have two sets of VCX files, one for each project, that are not interchangeable.

The two projects are each very large vertical market management systems. They are on the same server but in different volumes. I can run the program and call the form with no problem from the 1st project. If I try anything in the 2nd project I get the OLE errors. I am running one copy of VFP 6.0 (soon to be 8.0) on my Windows XP computer. I have .bat files that change the drive mappings depending on which system I am working on.

If I start VFP in the 1st project I can open the form in the 1st and 2nd projects with no problem. (There are drive mappings set to reach both projects from each.) If I start VFP in the 2nd project I can’t open the form in either project without the OLE error. Note that the drive mappings to get to the other project are different. ie if I am in project 1 the drive mapping to project 2 is F:. If I am in project 2 the drive mapping to project 1 is N: Yet I can open the form in both projects from project one regardless of the drive mapping but both forms bomb when trying to open from project 2.

I checked that the 2 required DLL files are in both projects.

TIA
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform