Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If an OCX is installed
Message
 
À
15/07/2002 18:00:28
Mario Felisbino
Construtora Andrade Gutierrez S/A
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00678873
Message ID:
00678891
Vues:
11
>How to know if an ocx is installed in the client's personal computer?

You can do something like:
OldErrorHandler = on("error")

OcxInstalled = .T.
on error OcxInstalled = .F.

Ocx = createobject("yourocxgoeshere")

set error to (OldErrorHandler)

if not OcxInstalled
    * your error handling code goes here
endif
Hector Correa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform