Solved

Conflicting names were found in (project path)

Posted on 2002-03-12
6
1,671 Views
Last Modified: 2007-11-27
How do I 'compact' or cleanse my project?  I have inhereted a messy project. Some forms were renamed and I want to rename some more.

Also, how can I properly rename things to avoid this warning message in the future?

The first actual message was:

Conflicting names were found in '\\MpsWEp01\Vol 2\BoxBoss\MainBoxBoss\frmLogin.frm'. The name FrmMain will be used.
0
Comment
Question by:wizard61
  • 2
  • 2
  • 2
6 Comments
 
LVL 1

Expert Comment

by:jmerritt
ID: 6857638
You may be stuck doing "Save as" for the forms you want to rename.  Be real careful to get everything in the appropriate folder as you are consolidating the project.  It's easy for VB to keep pointers to files in different directories and you never really know just by looking at the Project Explorer window.

Tedious as it sounds, it looks like you'll have to spend some time cleaning up.  The IDE doesn't have a tool like you're describing to my knowledge.
0
 

Author Comment

by:wizard61
ID: 6857651
I've messed around with Save AS, but I still have problems.

After a awhile I even created a new project in a new folder, added the forms, and still had problems.

I can try this again and will be REAL careful....
0
 
LVL 1

Expert Comment

by:jmerritt
ID: 6857682
I know what a pain this can be.  You may want to be anal in your procedure - for example, add only one form at a time to the project, saving and reopening it after each one.  This should tell you which forms are conflicting with naming.  Of course, if the project is very large, it'll take awhile.  Also, make use of the log files that VB creates - they should help you determine where to spend the most time.

Good luck...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Accepted Solution

by:
rspahitz earned 30 total points
ID: 6857732
To handle it manually, you will need to open the .vbp in a text editor and change the reference path.  You may also need to open the .frm and manually change all references to the new VB name.
0
 

Author Comment

by:wizard61
ID: 6857944
I increased the points since you were kind enough to leave out the "duh". Too easy!

Thanks!
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 6857988
Thanks!  I don't add "duh" because I know that not everyone knows that those files are editable!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

867 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

24 Experts available now in Live!

Get 1:1 Help Now