Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Registration
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00126342
Message ID:
00126609
Views:
19
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform