Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating an OCX
Message
De
10/01/2000 00:39:31
 
 
À
10/01/2000 00:08:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00315343
Message ID:
00315345
Vues:
24
>I have a form that use an OCX with my codes embeded in the OCX (OLE METHOD) method. 2 months later I need to update the form with a newer version of OCX.
>
>What do I need to do to have my form to able to use the newer version of OCX? DO I need to cut/paste the codes from the old OCX to the new OCX for that form? How do I know I have the latest version of OCX on the form?
>

Unless there is a lot of code, the easiest way would be to drop an instance of the new control on the form, and cut and paste. If there is a lot of code, and this would be a PITA, you can hack the scx file by opening it as a table, finding the record that corresponds to your ActiveX control, and change the version of the control by (carefully) changing the OLEClass property in the properties field. You will need to COMPILE your form after doing this.

As always, make a backup of your form before hacking it.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform