>>>>I am working on troubleshooting a problem where customer gets message when trying to bring up SFReports wizard:
>>>>
>>>>
>>>>ERROR MESSAGE: OLE error code 0x80040112: Class is not licensed for use
>>>>
>>>>
>>>>This kb article explains how to work around the problem:
>>>>
http://support.microsoft.com/default.aspx?scid=kb;EN-US;192693>>>>
>>>>What I don't understand is how to "create and save a subclass of your ActiveX Control to a VCX class library." I know that SFReports is using Treeview control but I am lost at where to look for it in the project and how to create its subclass.
>>>>
>>>>Any suggestions would be greatly appreciated.
>>>
>>>Do you have this class in your InstallShield project?
>>
>>For this project I was using Wise Installer, not InstallShield. But from reading the kb article it seems it does not matter how the class/activex gets on the computer. The problem is that at run time this class is loaded with .AddObject and this needs to be changed.
>
>If the TreeView class was added programmatically, then it would be indeed a problem. But I doubt Doug is adding TreeView programmatically. I guess he has a form with TreeView on it. I'm not familiar with SFReports, so I may be wrong.
I can see the form on which the TreeView is at run time. At
design time I don't see the TreeView there so it must be added at run-time dynamically.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham