Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Failing to create an instance of the RichText control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00942291
Message ID:
00950618
Views:
16
Sergey,

it still is the same error: OLE error code 0x80040112: Class not licensed for use.

I now have a test machine that used to have the richtx32.ocx working properly. I guess my testing ruined this. However, if I try to the solution of the article with the richtx32.ocx I still get the same error. If looked with google and found some installscripts (including from Microsoft) that installs the richtx32.ocx but I have not yet found the one that solves my problem. I get the idea that this control needs something more that just the presence of the riched20.dll and riched32.dll. If you have any suggestions please let me know.

Thanks in advance,

Ron Brahma


>What error do you get? Is it the same error that covered by mskb #192693?
>
>>
>>I tried the solution to install the richtx32.ocx but until now I have had no positive results.
>>
>>I tried several other options (VBruntime files) etc but I still have not found a reliable way to handle this. I have looked into tools like ProcessExplorer etc to determine if I need something else besides this richtx32.ocx. I haven't been able to find out anything relevant here as well.
>>
>>If you have any other suggestions I would appreciate it.
>>
>>Thanks in advance,
>>
>>Ron
>>
>>>You're welcome.
>>>
>>>>
>>>>thanks again! I searched Google for a answer but this one did not show up. I guess I ask the wrong questions ;-(
>>>>I have created a new setup for a application that will also install the RichText control.
>>>>
>>>>Thanks for the link!
>>>>
>>>>Ron
>>>>
>>>>>Ron,
>>>>>
>>>>>See BUG: License Error with ActiveX Control Added at Run-Time mskb #192693.
>>>>>
>>>>>>I have written a routine that needs to use the RichTextControl. On my development machine (XP) the following works:
>>>>>>
>>>>>>TRY
>>>>>>  test = NEWOBJECT("RichText.RichextCtrl.1")
>>>>>>CATCH
>>>>>>  messagebox("failed to create: RichText.RichextCtrl.1")
>>>>>>ENDTRY
>>>>>>
>>>>>>
>>>>>>However, if I do this on the runtime machine (W2K) I get the messagebox indicating that it did not work.
>>>>>>
>>>>>>I copied the riched20.dll, riched32.dll, richtx32.dep, richtx32.ocx from my development machine to the runtime machine, registered the ocx but still I can't get it to work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform