General information
Category:
ActiveX controls in VFP
Josh,
I recently bumped into a similar problem with an ActiveX control. I was using it via a class defined in a .PRG and it failed on some client machines but was OK on others. I have always thought that it had something to do with a .DLL mismatch but I have not figured out exactly which one.
I discovered that creating the class in a .VCX solved the problem, so I do that as a work-around right now. So I would suggest trying that approach.
If it works maybe this can help provide a clue as to what is wrong/different when using .PRG based subclass.
Guy
>I'm getting class not licensed for use on client machines.
>I can't find anything on MS that is helpful..
>
>The two lines that are giving me problems are:
>
>CREA('mswinsock.winsock.1')
>
>DEFINE CLASS DuzHandler AS FORM
> ADD OBJECT olemajor AS OLECONTROL WITH ;
> TOP = 51, ;
> LEFT = 12, ;
> OLECLASS = 'MSComctlLib.ProgCtrl.2'
>
>anyone have any ideas on what I'm doing wrong?
>
>What's frustrating is on a Win98 system (barebones, except for Palm Desktop loaded) -- I don't get errors, but on other machines I do.
>
>Thanks
>-josh
Previous
Next
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