General information
Category:
Third party products
Title:
ListView license problem - help
Here's the problem I posted in the newsgroup
> From: Udi Pladott
> Newsgroups: microsoft.public.fox.programmer.exchange;
microsoft.public.fox.vfp.forms; microsoft.public.vb.controls
> Subject: Subclassed OLE Control registration - Help !!
> Date: Monday, August 12, 1996 12:13
>
> I think I narrowed down my problem:
> I'm subclassing VFP's 'OLEControl' class using DEFINE CLASS and then
> adding the ListView to my forms using Form.AddObject('ListName' ,
> 'MyClassName' , 'COMCTL.ListViewCtrl.1' .....). From what I understand
from
> KB article Q139154, I'm not letting VFP save the control's run-time
license
> in the form file (.SCX) because I didn't save the ListView with the form
in
> the form designer. What happens is that I get the "OLE error code
> 0x80040112: Appropriate license for this class is not found." error
> message. The reason I started out working like that with the ListView is
> that I couldn't add a ListView to a form in VFP 3.0b - I would get an
> "Invalid page fault" (I saw that it works in the new beta).
> What I need is a way to get the license information for the ListView and
> save it wherever it needs to be saved so I can use the AddObject method
to
> add it to my forms. Otherwise I'm doomed.
> Help.
> Thanks.
> Udi.
>
>
>
> Udi Pladott wrote in article
> <01bb8819$41d41a80$28e673c0@udip.tabs.co.il>...
> > Hi,
> > I'm using COMCTL32.OCX for some of my VFP forms. Everything works well
> > when I'm developing or running my EXE on a computer that has VFP and
VB's
> > controls installed. I tried to test my application's installation on a
> > "clean" computer. I included the OCX in the project like all the other
> > files and it was installed and registered. Running my EXE on the new
> > computer, I had this problem:
> >
> > When I bring up a form with a TreeView control, ImageList control or
> > Progress Bar, everything is Ok, but when I try to use a form with a
> > ListView control - I get an "OLE error code 0x80040112: Appropriate
> license
> > for this class is not found." Pretty strange since they're all in one
> file.
> > Any Ideas ???
> > Thanks,
> > Udi.
> > --
> > ///////////////////////////////////
> > // Udi Pladott
> > // Mer Telemanagement Solutions
> > // udipl@shani.net
> > ///////////////////////////////////
> >
>
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only