Hi guys,
I'm trying to send faxes from within Foxpro using
DDE function calls to 'Delrina Win Fax Pro', after
I do al the necesary steps to acomplish this, it doesn't
start sending the faxes automatically, it receives the
information about the recipient like telephone, name, etc..., but I still need to 'ALT-TAB' to delrina and
click on 'Send' to start sending the fax, this is
basically my code :
ChanNum=DDEInitiate("FAXMNG","TRANSMIT")
=DDEPoke(ChanNum,"Sendfax",'recipient("5451977")')
=DDEPoke(ChanNum,"Sendfax",'attach("c:\test.wpd")')
=DDEPoke(ChanNum,"Sendfax",'resolution("HIGH")')
=DDEPoke(ChanNum,"Sendfax",'showsendscreen("1")')
=DDETerminate(ChanNum)
Also tried to add this after the previous code:
ChanNum2=DDEInitiate("FAXMNG","CONTROL")
=DDEexecute(ChanNum2,"GoActive")
=DDETerminate(ChanNum)
What am I missing?, it receives the information, but
it doesn't start to send the fax if I don't go
manually to 'Delrina' and click on send.
Have anybody tried this before ?, any suggestion will be
apreciated.
=THIS.Thanks_In_Advance()
luisg@netrunner.net
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould