>Can someone tell me how to programmatically subclass a class
>from one class library into another class library?
The classic solutino won't work each time:
ox=newobject('class','oldvcx')
ox.saveasclass('newclasslib','newname')
(not too sure of the parameters in the second line, have to check help each time :)
The reason why this may not work is that you may have a class which can't be invoked by newobject(), because of some code in the .init or because it contains bound controls and the tables may not be open, as is most probably the case with forms with private datasessions. You may disable the error checking while you do this.