Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move a .VCX
Message
De
03/11/2014 10:49:26
 
 
À
03/11/2014 05:07:47
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
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:
01610398
Vues:
52
>>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)...
Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform