Hi Kevin,
Why don't you subclass the control, store it in a classlibrary and add the subclass at runtime ?
Walter,
>When I run this code, I get the error "Class defintion CRViewer9 is not found"
>
>
>ThisForm.AddObject("oleViewer", "CRViewer9", "CRViewer9.CRViewer.9.2")
>
>
>What am I doing wrong here?