Solved

Changes to one cascade to other copies.  WHY

Posted on 2000-03-22
3
136 Views
Last Modified: 2010-05-02
What's going on?

I have a VB6 project.  I saved interum copies as I went along.  I finished the program, then made a different copy and renamed that and made considerable changes to the new program as a different project.   Now all the changes I made are in the original.  I figured that I must have goofed up somehow, so I got out an "interum copy" of the original and the changes are in there too.  As a test I added a line to one and it appeared in all the rest.  This is a disaster.   I have Source Safe on the machine, but I didn't add it to Source Safe as far as I know.   When I saved the original to a different name Sourse Safe asked me if I wanted to add it and I said NO.

What's going on??

Mac
0
Comment
Question by:MacRena
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
corvanderlinden earned 25 total points
ID: 2648331
I assume you did copy all your files, including the project (vbp) file
In this vbp file the names of the other files including their path are listed

You should have altered the vbp file manually or create a new vbp file

0
 
LVL 4

Author Comment

by:MacRena
ID: 2648855
corvanderlinden,

This is a very small program.  Only 1 form (frmMain), no modules, no class modules.
Oh, I think I see what you mean.  The Main Form is a file and it is attached to the project but not inside the project, so when I saved the project as a different name, I was actually then sharing the Main Form between the 2 copies.
Am I getting it?

So if I restore the original from tape, I will destroy the changes I made to the Main Form and have the same problem in reverse, right?

I will save the Main Form as something else before I restore.

Thanks,

Mac
0
 
LVL 4

Author Comment

by:MacRena
ID: 2651965
Thanks, corvanderlinden.
Mac
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now