Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Merge 2 VCX libraries????
Message
De
29/04/2015 16:48:03
 
 
À
29/04/2015 12:12:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01619223
Message ID:
01619237
Vues:
52
Hi Matt,

This should work for your case:
1- download and start FoxInCloud Adaptation Assistant (FAA) at http://foxincloud.com/download.php
2- locate where FAA (awAdapter*.app) is installed - should be in Addbs(Home(7)) + 'AB\AW\'
3- run the following code (not tested in this specific case ... but acCodeMgr has been running in FAA for 5 years on more than 45 M instructions - http://foxincloud.com/shared-projects.php);
set procedure to (Addbs(Home(7)) + 'AB\AW\awAdapter.app')  additive
local acCodeMgr as acCodeMgr of acOOP.prg
acCodeMgr = NewObject('acCodeMgr', 'acOOP.prg', 'awAdapter.app', <tlSrce>) && tlSrce: .T.: run on source code, .F.: copy source code and run on this copy
acCodeMgr.cSrceProject = <the project you want to modify>
&& or
acCodeMgr.cSrceFolders = <the folders you want to work on>
return m.acCodeMgr.VCXclassesMove(; && {en} moves classes and their references into another class library
	  <tcVCXsrce>; && {en} source.vcx {fr} VCX source
	, <tcRegExpSrce>; && {en} regular expression for classes to move - .+ moves all {fr} Expression régulière des classe(s) à déplacer
	, <tcVCXdest>; && {en} target.vcx {fr} VCX destination
	, <tlReplace>; && [.F.] {en} replace class in target.vcx if already exists {fr} Remplacer la classe si elle existe déjà dans le VCX destination
	)
HTH,

>I have 2 VCXs. In each one, they have some classes defined which are based of of some parent class in the other VCX. So, it's kind of a tangled mess.
>
>At this point, I'd be happier if I could just merge them together into a single vcx. There are no conflicting names.
>
>I can work out changing all the vcx references on all the forms of my app, but I'm wondering if there is any magic I can use to cleanly merge the 2 vcxs together???
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform