Slow opening of RTF documents in Word via automation

G

Guido Jensen

Hello,
we have a problem at a customer using dutch version of Office 2003.
In our product we use Word RTF documents via COM using C++.
We display this documents in a container using OleCreateFromFile function
also use Word in background as a hidden COM server for generate some
documents from several another documents.
At this customer each operation with this documents takes long time.
OleCreateFromFile takes up to 6 seconds. Each open and closing of the
documents in hidden COM server takes up to 2 seconds. The documents has a
size of 4-5 kBytes.
We don't expirience such problems at another customers.
We don't use any template on a network path attached to this documents.

What can be wrong in the Word installation or our integration of Word?
Can this be language dependent?
How can we check, why Word needs so long time for open an RTF document?
This documents are created by the same Word version.

Kind regards,
Jensen.
 
G

Guido Jensen

The reason was the customization of menues based on NormalTemplate.
Even if the temporary flag was setuped, the modifications are saved in
normal.dot.
The size of normal.dot was increased up to 15MB(!).
This big filesize was not a problem for Office 2000, but for 2003.
The increase of NormalTemplate size happens in both Word versions.
But the slow opening of the file happens just in Word2003. It seams, that
Word2000 had here some improvements which was lost in later versions of
Office.

Jensen.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?R3VpZG8gSmVuc2Vu?=,
The increase of NormalTemplate size happens in both Word versions.
But the slow opening of the file happens just in Word2003. It seams, that
Word2000 had here some improvements which was lost in later versions of
Office.
There's a hotfix out for Word 2003 that's supposed to help with slow
loading. I don't know if it addresses this problem, specifically, though.

http://support.microsoft.com/?kbid=823372

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top