>hi,
>i can use my "calculate_payment.fxp" by installing it to my clients application directory located at C:\ACCTG.
>when changes to the formula for calculating the payment, i just compile my "calculate_payment.prg" and have the resulting "calculate_payment.fxp" deployed to my client's computer.
>i don't include the ".prg" for the purpose of securing my source code.
>i'm thinking of maybe using a vfp custom class. example: objCalc.vct/objCalc.vcx
>
>so i when i call objCalc.CalculatePayment() it will work. but how do i deploy it to the client by simple giving him only the ".vcx" file. i know this won't work, but what would be the alternative? using still the vfp class.
>-tia
Erik,
1) You could directly define the custom class (as any other class) in a .prg too and give the fxp.
2) After creating your .vcx (take a backup) :
compile classlib myclasses.vcx
use myClasses.vcx excl
replace all methods with ''
pack memo
use
And you can give away .vcx.
Cetin