Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole error 0x80004004:operation aborted in APPEND GENERAL
Message
De
29/05/2002 21:19:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Ole error 0x80004004:operation aborted in APPEND GENERAL
Divers
Thread ID:
00662822
Message ID:
00662822
Vues:
62
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform