General information
Title:
Problem with ddeexecute
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only