Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Registration
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126342
Message ID:
00126609
Vues:
21
Alfred,
You have found VFP's biggest problem dealing with activeX controls. VFP Embeds the Active X Control's version # inside of the VCX or SCX file. To fix the problem you will need to hack the VCX/SCX file.

To fix this do the following:

1. Open the SCX/VCX file as a DBF
2. MOve to the record that references your ActiveX control
3. Cut and paste the code found in the methods memo field into a text file.(Unless you want to re-type all your code)
4. Delete the offending record.
5. Close the VCX/SCX and open it in the appropriate designer.
6. Re add the MSCOMM control to your form.
7. Save the FORM
8. OPen the VCX/SCX again
9. Find your MSCOMM record
10. Copy the code you saved in step 3 into the methods memo field.
11. Recompile your SCX/VCX file
12. You are done.....


Rod
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform