Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does an OCX need to be registered?
Message
 
À
03/07/1997 09:58:06
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00038496
Message ID:
00038721
Vues:
35
>I recently purchased Crystal Reports. It ships with an OCX that I want to use in my VFP5 from. But when I try to add an OLE Container Control to my form, the Crystal OCX is not one of my options. I selected Insert Control and then Add Control, but when I chose the 32-bit Crystal OCX I got the error message - 'Unable to load the requested OLE control.' Do I have to do something for VFP to recognize the OCX, or is this a problem with Crystal?
>
>Thanks
>Elyse

Hi, Elyse,

Much as I liked Hugh Winter's answer to you, I thought you might like another choice (it's really too much trouble to apply to Washington DC ;-) )

I'm assuming that Crystal installed the OCX in your registry. If not, you will have to register it with regsvr32. Just type in
regsvr32 OCXNAME at the RUN prompt

Be sure you include the complete path of the OCX. If the OCX is registered, it won't hurt to do it again.

To use it in VFP, go to the Tools/Options/ menu, and the Controls Tab. Follow screen directions to add an OCX to your list, and be sure you check it. It should then show up on your OCX list on your Form Designer toolbar. If it doesn't seem to appear on the list after you add it, scroll around. The descriptions in the list are sometimes not obvious from the OCX filename.

To install an EXE/APP at a client site, include the OCX in your files and be sure it's been registered. The setup wizard has you check if a file is an OCX and needs to be registered.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform