Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole error 0x80004004:operation aborted in APPEND GENERAL
Message
From
29/05/2002 21:19:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Ole error 0x80004004:operation aborted in APPEND GENERAL
Miscellaneous
Thread ID:
00662822
Message ID:
00662822
Views:
64
Hi all.

I'm trying to create RTF effect on the report by issue the following command:

APPEND GENERAL myfield FROM "myfile.rtf" CLASS "RICHTEXT.RICHTEXTCTRL.1"

However, occasionally, when the command is executed, the error msg "OLE error code : 0x80004004 : operation
aborted" popup, but sometime, everything is smooth and the report print just nice. I have
manually open the RTF file using wordpad and ms word, the formatting is fine. I have tried to
comment out the CLASS "RICHTEXT.RICHTEXTCTRL.1" part, but the problem still occurs.

The only way I know to create RTF effect is use the General field and an AxtiveX bound control.
In Report, I can't simply insert Rich Text box activeX control as in form. The only control I
can insert is Picture/ActiveX Bound Control.

I don't use word automation because the data is confidential and we don't want the user to
install additional application in case they don't have.

Hope someone can help.
Thank you in advance.

waifoong
Next
Reply
Map
View

Click here to load this message in the networking platform