>I decided to give a try on winfaxpro.
>No doc on dde in the manual, neither on their site (the only link to a skd whatever seems to be broken)?
>Is it possible to control winfaxpro from Vfp6?
>Thanks.
>Eric.
You should use ActiveX Automation, not DDE. There was a thread within the last week that discussed this. I didn't save the thread number, but here is the sample code from it:
FUNCTION FaxIt
oFax=CreateObject('WinFax.SDKSend8.0')
oFax.LeaveRunning
oFax.SetTo(lcTo)
oFax.SetCompany(lcCompany)
oFax.SetSubject('My Subject')
oFax.SetNumber(lcFaxNo)
oFax.AddAttachmentFile("")
oFax.SetCoverFile("C:\Program Files\Symantec\Winfax\Cover\BASIC1.CVP") oFax.SetCoverText(" ")
oFax.SetPrintFromApp(1)
oFax.AddRecipient
oFax.Send(0)
REPORT FORM mycursor TO PRINTER NOCONSOLE
oFax=.NULL.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer