Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Commercialize vcx
Message
From
11/03/2010 06:12:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/03/2010 13:42:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01453792
Message ID:
01453879
Views:
244
>hi, want to know as I can do a class .vcx that could commercialize it but without the code

You can eliminate the source code.

First, make separate directories (folders) for your development (programming), and for distribution. For additional safety, make sure you have a recent backup.

Make a copy of the development class or classes to the distribution directory.

Open the class as a table, and eliminate the field that contains the source code:
use JoseManualClassLibrary.vcx
* browse && optional - if you want to see what is going on
replace all Methods with ""
The class libraries are saved as a table (with a modified extension); field "Methods" contains the source code, while the compiled version is saved in field "ObjCode".

The above method also works for forms.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform