Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Winfax with Vfp 6.0
Message
 
To
10/01/2001 08:28:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00461536
Message ID:
00462158
Views:
18
>I am trying to scan a table run a program to send out faxes with winfax. I can fax the first record ok but then i get OLE error The server threw an Exception. Any ideas from anyone?

Jeffrey, we're doing the exact same thing, and we're doing it right now also. We have a small fax app that does nothing but scan a table that other apps may have inserted a record to. That table has a document column pointing to what is supposed to be faxed and the fax number to send to. It's just a SCAN but we are not having a problem with sending many faxes out. Download the VB examples from Symantec. They help.

WinFax releases control once the fax is in the send queue, so I put the program in a loop to wait until the fax has been send (success or fail) and it shows up in the Send Log so the app can evaluate the status. This way there is always only one "message" to evaluate. Once completed, we delete this message from the Send Log (success or fail) because the entry is still in the table. If it failed, we use .GetMessageErrorCode(cMessageID) to try and evaluate the failure.

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform