Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move a .VCX
Message
De
03/11/2014 05:07:47
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
31/10/2014 11:39:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01610277
Message ID:
01610377
Vues:
64
>Hi All:
>
>If I have a form that is based on a class in a VCX library, how do I change the reference to the parent class if I move the VCX to another folder?
>
>Thanks,
>
>Yossi

Hi Yossi,

This's my function does what do you want:
LPARAMETERS xfile,xnewclass,xvcxname
IF !FILE(xfile)
	MESSAGEBOX("file cannot be found: "+xfile,16)
	RETURN 
ENDIF 	
USE (xfile)
REPLACE classloc WITH xnewclass FOR xvcxname$classloc
USE 
Actually it was hard coded and I added xnewclass,xvcxname parameters for you. So there would be syntax error(s)...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform