>Having problems sending to the faxmodem within winfax. Currently, when I send a document to the winfax the print preview is fired off and then I can select send. I want to send the document once it hits winfax. Using DDE commands.
>
>retvar=DDEPoke(FaxChan,"sendfax","SendFaxUI")
>
>This sends to the print preview, is there any other parameters needed?
Yes - if you look in the sample code for VFP in WinFax's help, you'll notice:
retvar=DDEPoke(FaxChan,"sendfax",'showsendscreen("0")')
retvar=DDEPoke(FaxChan,"sendfax","SendFaxUI")