?
Solved

Conflicting names were found in (project path)

Posted on 2002-03-12
6
Medium Priority
?
1,787 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 22

Accepted Solution

by:
rspahitz earned 120 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…
Suggested Courses
Course of the Month16 days, 17 hours left to enroll

862 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