Read Aborted Error when Viewing RTF form

Hey Guys,

I developed a form previewer in clarion which shows a form or displays a form in a small window before opening it into MS Word

My concern is once i load the .RTF Document it starts popping up the error as shown in the screenshot, and this happens only for few documents and not all,

I found a solution on the internet but was only able to get few pieces of information,

Is this a word issue for RTF File or do i need to do anything?

Any help is greatly appreciated,

Attaching screenshot for reference

image

I see no question in your post. Could you elaborate a bit?

Not much information to go on, but I’d assume you’ve got a corruption or a value out of range somewhere

Hi Vedant

you really need to provide much more information, but having said that perhaps this will help if your Word document is corrupt etc

https://support.cch.com/kb/solution/000176973/sw10074

1 Like

Hi @vitesse

I found this solution and it’s working as expected, but still document loading takes almost 15/20 secs, is their any workaround or is it a MS Word issue?

Elaborated in few more words for better understanding

Hey Guys,

I developed a form previewer in clarion which shows a form or displays a form in a small window before opening it into MS Word

My concern is once i load the .RTF Document it starts popping up the error as shown in the screenshot, and this happens only for few documents and not all,

I found a solution on the internet but was only able to get few pieces of information,

Is this a word issue for RTF File or do i need to do anything?

I have multiple word files to view so the solution provided at Knowledge Base Solution - Error: "read aborted / pos:346 control 1 begin group 0 end group 0 word flow major" when adding a custom letter to an Organizer in Production Processing. is not feasible in my case

Any help is greatly appreciated,

Attaching screenshot for reference

image

Sorry for the repost, but i posted this again for better clarity on my previous post

Hi Vedant

I don’t understand why you are starting a new thread. This is likely to get deleted as a duplicate of:

(I think this may have already happened once before)

If you have more information to add, please add it to that earlier thread to keep all the information together in the one place.

If the earlier method using Wordpad is not practical due to a large number of documents then I suggest you do it on a few files and compare the before and after rtf files. You can then see what the differences are and perhaps write some code to automatically do those changes. Remember rtf files are just text files and can be manipulated by your code (did I mention StringTheory?). Just a thought.

Is the USE() variable big enough to hold the contents of this document, or is it dynamically allocated?

@jslarve

This is allocated dynamically, though only large documents are having issues while viewing, word is inserting some blank spaces or characters due to which loading is being slow.