Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking all VCX files
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Hacking all VCX files
Miscellaneous
Thread ID:
01528426
Message ID:
01528426
Views:
119
Since I moved my development to a new computer, the folder names are not 100% matching, I need to hack all my VCX libraries. I am obviously concerned that I don't mess up something. So here is what I am planning to do and wanted to know if anybody sees any potential issues with this. I am creating a .PRG that will do the following:
*-- for every .VCX in the director. And in my app all libraries are stored in the same directory/folder
cOldLocation = "c:\folder_on_old_computer" 
cNewLocation = "d:\folder_on_new_computer" 
use (cVcxFileName)
REPLACE classloc WITH STRTRAN(classloc,cOldLocation,cNewLocation) FOR AT(cOldLocation,classloc)> 0
I know that there are tools for this type of thing but I don't have them and need to get done asap. TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform