Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using DDE to talk to Winfax Pro 9.0
Message
From
23/04/1999 13:48:58
 
 
To
23/04/1999 13:32:38
Lisa Luft
Communication Data Services
Des Moines, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00211613
Message ID:
00211624
Views:
31
>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:
** Use this line to bypass the WinFax PRO Send dialog.
 ** Change the "0" to "1" to show the Send
 ** dialog (this forces a "manual" send). 
 retvar=DDEPoke(FaxChan,"sendfax",'showsendscreen("0")')
 ** Send the fax.
 retvar=DDEPoke(FaxChan,"sendfax","SendFaxUI")
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform