Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find project files in drive C:
Message
 
 
To
12/03/2014 08:10:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596053
Message ID:
01596251
Views:
33
>>Hi,
>>My application project includes files from D: and C: drives. I want to move all files from C: drive to D: drive. How do I find out (from the project file .pjx or otherwise) all files included in my project that reside/point on/to C: drive?
>>TIA
>>
>>UPDATE. Probably not possible from .pjx file. I opened it using USE command and the Name column has file names but no location.
>
>While not following the whole thread:
>make shure your project has focus
>
>
>loPro = _VFP.ActiveProject
>for lnFile = 1 to loPro.Files.count
> loFile = loPro.Files.item(lnFile)
> lcFile = loFile.Name
>?lcFile
> *copy ..
> *loFile.Name = ...
>endfor &&lnFile
>
>
>HTH
>
>Lutz

Thank you.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform