Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fxp vs vcx
Message
De
17/05/2003 05:35:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/05/2003 00:18:37
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00789604
Message ID:
00789639
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform