FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log inLog in 


Winword and Excel in DDE

Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog
View previous topic :: View next topic  
Author Message
Gass



Metz
Joined: 17 Aug 2017
Posts: 11

PostPosted: 21 Aug 2017 7:09    Post subject: Winword and Excel in DDE Reply with quote

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
Back to top
View user's profile Send private message
Thomas Linder Puls



Copenhagen, Denmark
Joined: 28 Feb 2000
Posts: 3124

PostPosted: 21 Aug 2017 9:51    Post subject: Reply with quote

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
Prolog Development Center
Back to top
View user's profile Send private message
Gass



Metz
Joined: 17 Aug 2017
Posts: 11

PostPosted: 21 Aug 2017 11:27    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    discuss.visual-prolog.com Forum Index -> Visual Prolog All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum