Page 1 of 1

Winword and Excel in DDE

Posted: 21 Aug 2017 7:09
by Gass
Need help with DDE:

I do the winword test on Window XP Vip 7 office.prj7
I get a result with winword (see below)

Got: str ("System \ tDocument1 \ tC: \\ Program Files \\ Microsoft Office \\ Office \\ Normal.dot")
Command = [FileOpen .Name = "C: \ Documents and Settings \ John Paul \ My Documents \ ALL VISUAL PROLOG \ Visual Prolog 7.0 Examples \ dde \ EXE \ ddetest.doc"
Got: str ("This test can be retrieved by DDE by refering to bookmark1")
Command = [EndOfDocument] [Insert "rttrtrtt"]

I do the same test with Windows 7 professional on Windows computer 64 bits Vip 7.5 office.vipprj
The result is :
Got: str ("System \ tDocument1 \ tC: \\ Program Files (x86) \\ Microsoft Office \\ Templates \\ Normal.dot")
Command = [FileOpen .Name = "C: \ dde \ data \ mytest.doc"]
Document not loaded
Document not loaded
Unfortunately I do not understand the reason, is it a compatibility problem with my Winword or my computer system?
On the other hand the document excel office.vipprj is loaded but not possible to write inside.

Thank you in advance for your understanding and help

Posted: 21 Aug 2017 9:51
by Thomas Linder Puls
It seems that you are trying to open another document "C:\dde\data\mytest.doc".

I think you should start by performing the exact same test both computers.

Posted: 21 Aug 2017 11:27
by Gass
Hi,
It's the same tests, the direction and the name file are different .
I circumvent this difficulty with stream Demo, excel loading well apparently ,
I got what I wanted at this moment: send my data in excel directly
thanks for help
JP Gass