Re: Word 2000 DDE Speed

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Cindy M -WordMVP- (C.Meister-C_at_hispeed.ch)
Date: 05/12/04


Date: Wed, 12 May 2004 09:32:00 +0200

Hi Stefan,

I'm assuming that I've understood you correctly, and none of the
automation code is actually within Word? (Jay seems to be making the
same wrong(?) assumption that Doug did...)

But Jay is correct on the point that the commands DDE uses to
communicate with Word 97/2000/2002/2003 are no longer the "valid"
programming language. DDE *must* use WordBasic to communicate with Word
(any version), but WordBasic is no longer the "correct" automation
language for Word; VBA is. This will cause problems, will definitely be
slower, and in the long run will probably cease to work, as the
underlying structures change over time.

So, someone should probably start looking at "translating" this
functionality from DDE to OLE automation so that you're ready to
transition by the time you upgrade to the next version of Word.

> Word 2000 (unlike Word 95)
> has problems with big sets of documents. After composing about 500
> documents, Word 2000 is not able to close document and open following.
> Bookmark setting is performed on open document, but another operations
> are not done (opening, closing, printing). (No errors reported by
> Word.) I don't know if it is caused by implementation of wordbasic in
> Word 2000 or by problems with DDE connections. I have to remark again,
> that with Word 95 everything is fine.
>

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



Relevant Pages

  • Re: MapInfo in Kombination mit MS Access
    ... > dass Du dort VBA o.ae. einsetzen kannst? ... > Automation empfehlen. ... MapInfo ist quasi Bestandteil der Office-Suite, ... Wer da also DDE verwendet, ...
    (microsoft.public.de.access)
  • Re: Excel to Peachtree via VBA
    ... for ActiveX, Automation, DDE. ... Success is not the result of spontaneous combustion. ...
    (microsoft.public.excel.programming)
  • Re: Send keystokes to different application
    ... Depending on what the other application is/does, automation or DDE maybe ... use focus commands? ...
    (microsoft.public.excel.programming)
  • Re: how to delete word97 macro from vfp using dde
    ... DDE shouldn't be used. ... If you're talking about automation, you might find out more by asking in a ... Word newsgroup. ... Dan Martin wrote: ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Passing parameter without starting the other app again
    ... Have searched some more and it seems I should find out what DDE is. ... Jay ... >> and I can pickup Parameters via command$ in the receiving app. ... >> similar way or do I have to go via some common file? ...
    (microsoft.public.vb.com)