Word 2007 speed issues

M

mk

Hi,
we are automating Word from a VB application using COM. The app is very
basic -- it opens document, prints it to a printer and closes it.
We are trying to switch from Office 2003 to Office 2007. The app works, but
there is a 100% performance degradation (i.e. it takes twice longer to open
the document). Processing time for a simple doc changed from about 2 seconds
to
about 4 seconds on average. When we try to open the document manually we
can see that it does take almost 3 seconds for the document to come up. It
is instanteneous in Office 2003.
Is there any configuration (or anything else) we could try to do to improve
the performance?
 
C

Cindy M.

Hi =?Utf-8?B?bWs=?=,
we are automating Word from a VB application using COM. The app is very
basic -- it opens document, prints it to a printer and closes it.
We are trying to switch from Office 2003 to Office 2007. The app works, but
there is a 100% performance degradation (i.e. it takes twice longer to open
the document). Processing time for a simple doc changed from about 2 seconds
to
about 4 seconds on average. When we try to open the document manually we
can see that it does take almost 3 seconds for the document to come up. It
is instanteneous in Office 2003.
Is there any configuration (or anything else) we could try to do to improve
the performance?
I think the degradation is due primarily to 1) the file formats and 2) building
the new user interface with the Ribbon. Building the Ribbon is somewhat
complicated, as the interface has to check each possible "provider" of
customizations, integrate all of the them, then build the display. It's
painfully slower than the old CommandBars (toolbars) approach was.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :)
 
J

Jay Freedman

Hi =?Utf-8?B?bWs=?=,

I think the degradation is due primarily to 1) the file formats and 2) building
the new user interface with the Ribbon. Building the Ribbon is somewhat
complicated, as the interface has to check each possible "provider" of
customizations, integrate all of the them, then build the display. It's
painfully slower than the old CommandBars (toolbars) approach was.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :)

With the suspicion that Ribbon construction is the bottleneck, and
since the application doesn't need a Ribbon to operate, it would be
worth turning off the Ribbon to see if the process speeds up. Make a
RibbonX file with startFromScratch = True (see
http://www.pschmid.net/office2007/ribbonx/reference/index.php).
 
M

mk

Hi =?Utf-8?B?bWs=?=,
With the suspicion that Ribbon construction is the bottleneck, and
since the application doesn't need a Ribbon to operate, it would be
worth turning off the Ribbon to see if the process speeds up. Make a
RibbonX file with startFromScratch = True (see
http://www.pschmid.net/office2007/ribbonx/reference/index.php).

Thank you for your reply. I tried to follow the suggetsions from the link
and created the XML file and then added it to a sample docx file archive.
When I open that docx file I still get the same ribbon. Do you know what am
I doing wrong? And also how would I go about configuring ribbon for the old
Office 2003 files, not docx's?
Thanks!
 

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