Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move a .VCX
Message
From
03/11/2014 10:49:26
 
 
To
03/11/2014 05:07:47
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01610277
Message ID:
01610398
Views:
53
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform