Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to unregister .OCX ActiveX?
Message
 
 
À
23/06/2007 07:03:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01235160
Message ID:
01235164
Vues:
21
>Another thing, a good way to test for these types of things is to try and instantiate an object of the desired control within a TRY, CATCH, ENDTRY block so that you can take appropaite action and/or inform the user.

This is exactly what I am trying to do. To add Try/Catch to the old code (that was developed under VFP 6) and to load this .ocx on-the-fly. Your suggestion of renaming the .OCX works. I can duplicate the error.

Now I will try to just place the .ocx in the application folder and see if I can load it on-the-fly.

Thank you so much for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform