Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to unregister .OCX ActiveX?
Message
De
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:
01235163
Vues:
15
>I am working on an approach to deal with the following error message my customers sometimes get:
>
>
>COMDLG32.OCX is not installed on this computer
>
>
>The first thing I need to do is to be able to duplicate the problem on my PC. Therefore, I think I need to unregister this .OCX. I ran the following command at the command prompt:
>
>
>REGSVR32 -u COMDLG32.OCX
>
>
>The command was successfully completed. But when I run my application, I still get no error message. That is, COMDLG32.OCX loads without a problem.
>
>How can I simulate on my PC the above error with COMDLG32.OCX?
>
>Thank you.

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.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform