I am trying to convert an Excel SpreadSheet to Python. The formula in
Excel for one of the cells is =DDE("ser1","ser2","ser3"). The name of the
server is ser1, ser2 is the topic, and ser3 is an item.
I already tried using:
import dde
ddes = dde.CreateServer()
ddes.Create("ser1")
ddec = dde.CreateConversation(ddes)
ddec.ConnectTo("ser1","ser3")
ddec.Connected() 1
All is ok so far. However:
ddec.Request("ser2") Traceback (most recent call last):
File "<interactive input>", line 1, in ?
error: Request failed ddec.Exec("ser2") Traceback (most recent call last):
File "<interactive input>", line 1, in ?
error: Exec failed
Does anyone know the syntax to request information from a DDE server? I
could not find any useful examples in the documentation.
Thank you, Dana
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250