>>>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.
If it's not broken, fix it until it is.
My Blog