Discussions related to Visual Prolog
Gass
Posts: 16
Joined: 17 Aug 2017 8:51

Winword and Excel in DDE

Unread post 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
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post 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.
Regards Thomas Linder Puls
PDC
Gass
Posts: 16
Joined: 17 Aug 2017 8:51

Unread post 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
Post Reply