Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with ddeexecute
Message
From
15/11/2001 10:07:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Problem with ddeexecute
Miscellaneous
Thread ID:
00582056
Message ID:
00582056
Views:
43
Hello,

I need to open a Word document since a program developed in FoxProW 2.6.
I initialize my channel DDE, ok not problem.
I send a command
ddeexecute(x,'[FileOpen "D:\gus\doc2.doc"]')
or ddeexecute(x,'[Documents.open "D:\gus\doc2.doc"]')
and I obtain the following error in VBA
" detected ambiguous Name: TmpDDE "

I test the command
Documents.Open FileName:="D:\Gus\Doc2.doc"
directly in VBA and I do not have any error.

What does this mean TmpDDE, is the name the macro one created by channel DDE?

with word97 and the following command I do not have a problem
ddeexecute(x,'[FileOpen "D:\gus\doc2.doc"]')

With Excel I use the OPEN command without problem.


Thank you for your assistance
Next
Reply
Map
View

Click here to load this message in the networking platform