?
Solved

Conflicting names were found in (project path)

Posted on 2002-03-12
6
Medium Priority
?
1,744 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

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…
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…
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…
Suggested Courses

741 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