Components loading error

Posted on 2002-04-09
Medium Priority
Last Modified: 2008-03-10
Hi, I'm trying to load Graphic Server Extended graph (graphs32.ocx) in VB6, and I keep getting this error:

Name conflicts with existing module, project or object library.

I verified in my components and my references, and graphs32.ocx is nowhere...

Question by:cotano

Accepted Solution

KarcOrigin earned 400 total points
ID: 6930221
Hi cotano,

If a module has the same name as a type library, such as "DAO", "VBA", or "Access," the process stops and the following error message:

Name conflicts with existing module, project, or object library.


In a Microsoft Visual Basic project, when you give the same name to an Enum and a class module and run the project, you will get the following error:

Compile error: Name conflicts with existing module, project or object library

However, after you resolve the name conflict by changing the name of the class module, the same error still occurs when you run the project.

Microsoft has confirmed this to be a bug in the Microsoft products.

To come up with this problem: You need to make a few changes to the project (for example, add some code to the modules) or reload the project to workaround this error.


LVL 49

Expert Comment

ID: 7643128
Hi cotano,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept KarcOrigin's comment(s) as an answer.

cotano, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
DanRollins -- EE database cleanup volunteer

Expert Comment

ID: 7673344
Moving to the PAQ

Experts Exchange Moderator

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

619 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