>What does the class hierarchy look like. Does this base class depend on any other classes?
>
>It sounds like you're creating an object from class A that depends on class B, but class B depends on class C and class C depends on class A. The circle could be wider than that, but essentially thats what it sounds like.
>
>>When I create an object from a class, I get the following error:
>>
>>Error loading file - record number 170
>>Pg1 <or one of its members>. Parent: Cannot add PG1. Class definition is cyclical.
>>
>>
>>What does this mean? I have never seen this error before.
>>
>>I can open the offending class in the class designer. Make changes etc.
>>
>>But when I try to create the object from this class...
>>
>>
>>
>>The above error appears.
>>
>>I just spent 2 hours creating this base form class, with a pageframe on it and numerous controls on each of the pages.
>>
>>Any ideas?
>>Mike
This is what I've done!
I removed all objects from the form - base class is a form, with the pageframe on it.
The error persisted. If I viewed the vcx as a table, the pg frame was not the clas, rather it was a command button of a toolbar???
I then examined the default path. Lo and behold it was pointing at a different set of directories. I guess it was trying to create something from another library.
Blowing away all references to the other pathing has fixed the problem. Now to figure out why it happened.
Mike