Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering Controls from inside VFP
Message
De
30/03/2001 15:07:25
 
 
À
30/03/2001 09:06:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00490297
Message ID:
00490418
Vues:
11
To register DLL or OCX invisible for user you may use the following way:

oShell = CreateObject( "WScript.Shell")
nResult = oShell.Run( "regsvr32 YourDLLOrOCXFile /s", 0, .T.)

nResult will contain 0 if DLL or OCX successfully registered.

With best regards,
Alex

>Is there a way inside VFP (preferably without the RUN command) to determine if a control (DLL or OCX) has been registered, and if not register it?
>
>Bryan A. Jackson
>FOCUS CMC
Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform