>I am doing a wizard type form class, and on page2 I want to insert an replaceable pageframe with a couple of pages. I can do this by simply dropping the pageframe class on page2, but if in page2.activate I do this:
>
set library to (thisform.classlibrary) additive
>this.addobject('oFilter','rptapp')
>
>...it tells me that the class is wrong for this container.
>
>OK, I got it, the class name should be RptFiltApp. I was trying to instantiate yet another instance of the form class on a page. Thanks for your patience, ladies and gentlemen. Yes, I know, it's Friday.
>
>BTW, I do have a question. On first line it errored out saying that the vcx file doesn't exist. In the debugger I saw the property held a valid filename. Maybe I shouldn't try this Set ClassLibrary at all, since this classlib is open by default?
Yeah, Vlad's right, it should be SET CLASSLIB TO. SET LIBRARY is for .FLL's.