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
Title:
Failing to create an instance of the RichText control
Miscellaneous
Thread ID:
00942291
Message ID:
00942291
Views:
69
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.

Any suggestions what I need to do to get this working?

All help is appreciated.

Ron Brahma
Next
Reply
Map
View

Click here to load this message in the networking platform