Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 06 DEC 2001 08:51:24AM Colin Rule wrote:

I have set up a DDE export routine to export to EXCEL and WORD (2000).

The export to Excel works fine.

The export to Word is giving me problems.

I have had it working on the odd occasion using a test document but it is not very consistent.

I have established bookmarks as specified, and ensured that the case is the same.

The first time it seems to do something but does not get any data in the document. After that it gives an error 16394 (x400a).

Does anyone have any ideas why, or even better still some code that actually works consistentently.

And… does anyone know of there is any web links or help on the DDE commands available for WORD and EXCEL.

TIA

Colin


At 06 DEC 2001 09:15AM Oystein Reigem wrote:

Colin,

0x400a=DMLERR_NO_CONV_ESTABLISHED, i.e, you have no connection to the DDE server. You might know already what that error code means, but does the error make sense?

- Oystein -

#define DMLERR_NO_ERROR 0

#define DMLERR_FIRST 0x4000

#define DMLERR_ADVACKTIMEOUT 0x4000

#define DMLERR_BUSY 0x4001

#define DMLERR_DATAACKTIMEOUT 0x4002

#define DMLERR_DLL_NOT_INITIALIZED 0x4003

#define DMLERR_DLL_USAGE 0x4004

#define DMLERR_EXECACKTIMEOUT 0x4005

#define DMLERR_INVALIDPARAMETER 0x4006

#define DMLERR_LOW_MEMORY 0x4007

#define DMLERR_MEMORY_ERROR 0x4008

#define DMLERR_NOTPROCESSED 0x4009

#define DMLERR_NO_CONV_ESTABLISHED 0x400a

#define DMLERR_POKEACKTIMEOUT 0x400b

#define DMLERR_POSTMSG_FAILED 0x400c

#define DMLERR_REENTRANCY 0x400d

#define DMLERR_SERVER_DIED 0x400e

#define DMLERR_SYS_ERROR 0x400f

#define DMLERR_UNADVACKTIMEOUT 0x4010

#define DMLERR_UNFOUND_QUEUE_ID 0x4011

#define DMLERR_LAST 0x4011


At 07 DEC 2001 05:43AM Colin Rule wrote:

Thanks

I have the error codes and meanings already.

What I am after is what how to get the conversations working if an error occurs, ie how to tell the DDE server to restart or close or something and try again etc.

TIA

Colin


At 10 DEC 2001 05:01AM Colin Rule wrote:

My tests with DDE and OI have concluded that the links are dubious.

To overcome this we have written a VB DDE and cann this from OI interface and this seems happier.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/786bafcd941844ed85256b1a004c1dfc.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1