Conflicting names were found in (project path)

Posted on 2002-03-12
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.
Question by:wizard61
  • 2
  • 2
  • 2

Expert Comment

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.

Author Comment

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....

Expert Comment

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...
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

LVL 22

Accepted Solution

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.

Author Comment

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

LVL 22

Expert Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

757 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

19 Experts available now in Live!

Get 1:1 Help Now