>>>Hi,
>>>
>>>I need to create a mirror image of an existing project so that I can do some major changes without affecting existing project. I plan to create a new folder (e.g. MYPROJECTVER2) and copy all files and sub-folders from existing project folder MYPROJECTVER1. I think I will need to hack the project file (.PJX/PJT) to make the new project only "see" files in the new folder. What do I need to change in the project file? Any other files in the project I need to change?
>>>
>>>Thank you in advance for your help.
>>
>>I think you can programmatically set StartUpDirectory (or the like) from _VFP.ActiveProject
>
>But I don't want to change the program (initially). I want, after copying the project from Folder A to Folder B, project B to work (use classes, forms, prgs) only in the Folder B. Then, once I see that the project B is not affecting (and not using) elements in Project A, I can start making modifications.
>
>Thank you.
I meant you can set Start Directory of the project B to be the new directory this way. Or you can hack the pjx file, as you planned.
If it's not broken, fix it until it is.
My Blog