Ranjan,
This error happens when two or more items with the same classname are marked OLE Public.
You can USE each VCX in the project and grab all the rows where reserved2 = "OLEPublic"
>in a VFP8 project I created a form tested it and because I needed a little variant of it moved it into a class. I then inserted the class on the first form, tested it and hey..it worked.
>I copied it to a second form made some cosmetic changes and this one worked as well. So far, so good.
>However, when building the exe a message was shown:
>OLE error 0x8002802d: name already exists in the library
>
>This problem did not surface when creating the app. Knowing that only two new screens had made it into the project I checked them and noticed that the formnames were identical.
>I gave the names they should have gotten and it solved the problem.
>
>The question I have is: if VFP(8) is smart enough to detect the problem, why is it then not smart enough to tell me where the problem occured. Just returning the name that caused the problem would have been enough?
>
>Is there a way to detect this outside the build process?