Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename VCX. Any problems doing this?
Message
From
12/02/1999 12:15:00
 
 
To
11/02/1999 20:39:02
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00186661
Message ID:
00187068
Views:
23
>>I would like to rename a VCX in one of my projects in VFP6. Can I just rename the file and all references to it (in forms etc..) will be updated? Anything to watch out for?
>

>
>You can do it only you HACK everything involve on that VCX...
>
>* After Rename
>Use myNewVcx.vcx
>Replace All ClassLoc with STRTRAN(ClassLoc, "myOldVcx", "myNewVcx")
>use
>Use myForm.scx && For All Forms reference that vcx class..
>Replace All ClassLoc with STRTRAN(ClassLoc, "myOldVcx", "myNewVcx")
>use
>
>

>
>Reason: there will be a Class, ClassLoc to carry the information of "Class Definition", once you create an instance of vcx class, you can see "Class", "ClassLoc" value will be the location with path on VCX location!
>
>So, take care all ClassLoc involved will do~~ ^_^;

Justok,

Your tagline says "Five bytes can reboot computer"... which is precisely something I need to do... could you give me more details on how to do this? How do you "send" the five bytes? In a .prg? In a .bat?

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform