[RESOLVED] Saving one project file affects others!
I recently found need to create two versions of a project I'm working on, so I simply chose to "save as" the project with a new name. The new and identical (except in name) file was created, and I was satisfied. However, the two files seem to be somehow linked. When I make changes to one file, the other is changed as well. Why is this happening and how can I make it stop happening? Thanks in advance.
Re: Saving one project file affects others!
If you used SaveAs only the project file has been copied, not the rest of the files (Forms, modules, classes). So if you change a form, it will be changed in both projects, because the project refers to the same file.
Ik you want two separate projects, just copy your project-folder in the windows Explorer.
Re: Saving one project file affects others!
Quote:
Originally Posted by robbedaya
If you used SaveAs only the project file has been copied, not the rest of the files (Forms, modules, classes). So if you change a form, it will be changed in both projects, because the project refers to the same file.
Ik you want two separate projects, just copy your project-folder in the windows Explorer.
Oh I see, thank you. Unfortunately my organization is a bit lacking so I don't really have a project folder, at least not one that I can find. I guess I will just have to duplicate the file manually. Thanks for your help.
Re: Saving one project file affects others!
project folder means the directory you are keeping your project files (.vbp, .frm and so on) in your system. just copy the whole directory or folder to a new directory or folder...
Re: Saving one project file affects others!
Quote:
Originally Posted by ganeshmoorthy
project folder means the directory you are keeping your project files (.vbp, .frm and so on) in your system. just copy the whole directory or folder to a new directory or folder...
Like I say, I just don't have that. All of my stuff is in one big folder.
Edit: I was able to sort out all the project files and I copied them into their own folder. It seems to work properly now. Thanks for the help everyone.
Re: [RESOLVED] Saving one project file affects others!
I would strongly recommend to create a new folder in windows eplorer for each project.