>I had to try and encapsulate a class today to send to someone. Problem was that the class was a container that contained objects whose base class was in a different vcx file so I couldn't just send the one vcx file.
>
>Solution:
>
>Copy all necessary classes into the new vcx file. Now go and type
>
>use newfile.vcx
>
>Goto the classlib field and change all the values from the source vcx file to the newfile.vcx
>
>close the newfile.vcx
>
>Remodify it in the class so the new vct file is generated and thats it. You now have a new vcx file
>that is independent of any other vcx files.
>
>If I'm not being clear let me know.
Would a COMPILE CLASSLIB form the command window have worked as well as just making a change and then resaving?