Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fxp vs vcx
Message
From
17/05/2003 05:35:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/05/2003 00:18:37
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00789604
Message ID:
00789639
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform